/**
 * HR Management Lite — Staff Dashboard
 */
.hrml-staff-dashboard .content-wrapper {
	padding: 1.25rem 1.5rem 2rem;
}

.hrml-staff-dashboard .page-header {
	display: none;
}

/* Hero */
.hrml-sd-hero {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	background: #fff;
	border-radius: 14px;
	padding: 1.35rem 1.75rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
	border: 1px solid #eef2f7;
}

.hrml-sd-hero__main {
	display: flex;
	align-items: center;
	gap: 1.1rem;
	flex: 1;
	min-width: 240px;
}

.hrml-sd-hero__icon {
	width: 52px;
	height: 52px;
	border-radius: 12px;
	background: linear-gradient(135deg, #7c3aed 0%, #6366f1 100%);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.35rem;
	flex-shrink: 0;
}

.hrml-sd-hero__title {
	margin: 0 0 0.35rem;
	font-size: 1.55rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.25;
}

.hrml-sd-hero__subtitle {
	margin: 0;
	font-size: 0.9rem;
	color: #64748b;
	max-width: 520px;
	line-height: 1.5;
}

/* Stats */
.hrml-sd-stats {
	margin-bottom: 1.5rem;
}

.hrml-sd-stat-card {
	background: #fff;
	border-radius: 12px;
	padding: 1.15rem 1.25rem;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
	border: 1px solid #eef2f7;
	border-left: 4px solid #7c3aed;
	width:auto;
	position: relative;
	overflow: hidden;
	
}


.hrml-sd-stat-card__label {
	display: block;
	font-size: 0.7rem;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #94a3b8;
	margin-bottom: 0.45rem;
}

.hrml-sd-stat-card__value {
	margin: 0;
	font-size: 1.35rem;
	font-weight: 700;
	color: #0f172a;
	line-height: 1.3;
}

.hrml-sd-stat-card__hint {
	margin: 0.35rem 0 0;
	font-size: 0.8rem;
	color: #64748b;
}

.hrml-sd-stat-card--welcome .hrml-sd-stat-card__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.hrml-sd-stat-card__avatar img.avatar {
	border-radius: 50%;
	border: 2px solid #e2e8f0;
	width: 52px !important;
	height: 52px !important;
}

.hrml-sd-stat-card__icon {
	position: absolute;
	right: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	opacity: 0.9;
}

.hrml-sd-stat-card--hours .hrml-sd-stat-card__icon {
	background: rgba(59, 130, 246, 0.12);
	color: #3b82f6;
}

.hrml-sd-stat-card--attendance .hrml-sd-stat-card__icon {
	background: rgba(16, 185, 129, 0.12);
	color: #10b981;
}

.hrml-sd-stat-card--absent .hrml-sd-stat-card__icon {
	background: rgba(139, 92, 246, 0.12);
	color: #8b5cf6;
}

.hrml-sd-stat-card--absent .hrml-sd-stat-card__value a {
	color: #6366f1;
	text-decoration: none;
	font-weight: 700;
}

.hrml-sd-stat-card--absent .hrml-sd-stat-card__value a:hover {
	text-decoration: underline;
}

/* Session panel */
.hrml-sd-session-panel {
	background: #fff;
	border-radius: 14px;
	padding: 1.35rem 1.5rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
	border: 1px solid #eef2f7;
}

.hrml-sd-session-panel__title {
	margin: 0 0 1.1rem;
	font-size: 1.05rem;
	font-weight: 700;
	color: #0f172a;
}

.hrml-staff-dashboard .row.ehrm_clock_div {
	padding: 0;
	border-radius: 0;
	margin: 0;
	align-items: stretch;
}

.hrml-staff-dashboard #ehrm_clock_btns nav {
	margin: 0;
}

.hrml-staff-dashboard #ehrm_clock_btns .breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
	background: transparent;
	border-radius: 0;
}

.hrml-staff-dashboard #ehrm_clock_btns .breadcrumb-item {
	padding: 0;
	display: flex;
}

.hrml-staff-dashboard #ehrm_clock_btns .breadcrumb-item::before {
	display: none;
}

.hrml-staff-dashboard #ehrm_clock_btns .breadcrumb-item + .breadcrumb-item::before {
	display: none;
}

.hrml-staff-dashboard #ehrm_clock_btns .btn {
	border-radius: 10px !important;
	padding: 0.65rem 1.15rem !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	border: none !important;
	min-width: 130px;
	box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12) !important;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hrml-staff-dashboard #ehrm_clock_btns .btn:hover {
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16) !important;
}

.hrml-staff-dashboard #ehrm_clock_btns .btn-gradient-danger {
	background: linear-gradient(135deg, #f97316 0%, #ec4899 100%) !important;
}

.hrml-staff-dashboard #ehrm_clock_btns .btn-gradient-success {
	background: linear-gradient(135deg, #14b8a6 0%, #22c55e 100%) !important;
}

.hrml-staff-dashboard #ehrm_clock_btns .btn-gradient-primary {
	background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%) !important;
}

/* Live clock */
.hrml-staff-dashboard .bootstrap-clock-div {
	display: flex;
	align-items: stretch;
}

.hrml-staff-dashboard .current_time_clock {
	width: 100%;
}

.hrml-staff-dashboard .current_time_clock .card.bg-dark {
	background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%) !important;
	border: none;
	border-radius: 14px;
	padding: 1.25rem 1rem;
	margin: 0;
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
}

.hrml-staff-dashboard .current_time_clock .d-flex.flex-wrap.justify-content-center.mt-2 {
	margin-top: 0 !important;
	font-size: 2rem !important;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.hrml-staff-dashboard .current_time_clock .badge {
	font-size: 2rem !important;
	background: transparent !important;
	color: #fff !important;
	padding: 0 0.15rem;
}

/* Activities */
.hrml-sd-panel {
	background: #fff;
	border-radius: 14px;
	border: 1px solid #eef2f7;
	box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
	margin-bottom: 1.5rem;
	overflow: hidden;
}

.hrml-sd-panel--accent-blue {
	border-left: 4px solid #3b82f6;
}

.hrml-sd-panel--accent-orange {
	border-left: 4px solid #f59e0b;
}

.hrml-sd-panel--accent-green {
	border-left: 4px solid #10b981;
}

.hrml-sd-panel--accent-pink {
	border-left: 4px solid #ec4899;
}

.hrml-sd-panel__head {
	padding: 1rem 1.35rem;
	border-bottom: 1px solid #f1f5f9;
}

.hrml-sd-panel__title {
	margin: 0;
	font-size: 1rem;
	font-weight: 700;
	color: #1e40af;
}

.hrml-sd-panel__title--neutral {
	color: #0f172a;
}

.hrml-sd-panel__body--padded {
	padding: 0 1.35rem 1.35rem;
}

.hrml-staff-dashboard.main-panel,
.hrml-staff-dashboard.detail-panel {
	background: #f1f5f9;
}

.hrml-sd-panel--accent-orange .hrml-sd-panel__title {
	color: #b45309;
}

.hrml-sd-panel--accent-green .hrml-sd-panel__title {
	color: #047857;
}

.hrml-sd-panel--accent-pink .hrml-sd-panel__title {
	color: #be185d;
}

.hrml-sd-panel__body {
	padding: 0;
}

.hrml-sd-panel__body .card,
.hrml-sd-panel__body .card-body {
	border: none;
	box-shadow: none;
	padding: 0;
}

.hrml-staff-dashboard .usser_activity_alerts {
	padding: 0.75rem 1.35rem 1.25rem;
}

.hrml-staff-dashboard .usser_activity_alerts .alert {
	border: none;
	border-radius: 10px;
	padding: 1rem 1.15rem;
	margin-bottom: 0.65rem;
	font-size: 0.9rem;
	border-left: 4px solid transparent;
}

.hrml-staff-dashboard .usser_activity_alerts .alert-success {
	background: #f0fdf4;
	color: #166534;
	border-left-color: #22c55e;
}

.hrml-staff-dashboard .usser_activity_alerts .alert-danger {
	background: #fff7ed;
	color: #9a3412;
	border-left-color: #f97316;
}

.hrml-staff-dashboard .usser_activity_alerts .no-staff-activity {
	padding: 1.5rem;
	text-align: center;
	color: #94a3b8;
	margin: 0;
}

/* —— Weblizar-style bottom panels (boards, compensation, tasks, payroll) —— */
.hrml-staff-dashboard.detail-panel,
.hrml-staff-dashboard.second-level-panel {
	background: #f0f0f1;
}

.hrml-staff-dashboard .detail-panel .content-wrapper {
	padding: 0 1.25rem 1.5rem;
}

.hrml-staff-dashboard--boards .card,
.hrml-staff-dashboard--workspace .hrml-workspace-card,
.hrml-staff-dashboard--workspace .hrml-payroll-card {
	background: #fff;
	border: none;
	border-radius: 8px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.hrml-staff-dashboard--boards .card .card-body,
.hrml-staff-dashboard--workspace .hrml-workspace-card .card-body,
.hrml-staff-dashboard--workspace .hrml-payroll-card .card-body {
	padding: 1.25rem 1.35rem 1.35rem !important;
}

.hrml-staff-dashboard--workspace .row {
	margin-left: -12px;
	margin-right: -12px;
}

.hrml-staff-dashboard--workspace .row > [class*="col-"] {
	padding-left: 12px;
	padding-right: 12px;
}

.hrml-board-card {
	border-top: 3px solid transparent !important;
}

.hrml-board-card--orange {
	border-top-color: #f59e0b !important;
}

.hrml-board-card--green {
	border-top-color: #10b981 !important;
}

.hrml-board-card--pink {
	border-top-color: #ec4899 !important;
}

.hrml-board-card .card-title,
.hrml-workspace-card .card-title {
	font-size: 1.05rem;
	font-weight: 600;
	color: #1e3a5f;
	margin-bottom: 1rem;
}

.hrml-board-table thead th {
	background: #f8f9fa;
	color: #6c757d;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	border-bottom: 1px solid #dee2e6;
	padding: 0.65rem 0.75rem;
}

.hrml-board-table tbody td {
	font-size: 0.875rem;
	padding: 0.7rem 0.75rem;
	border-color: #eee;
	color: #333;
}

/* Salary summary card — pro / Weblizar layout */
.hrml-salary-summary-card .card-body {
	padding-top: 1rem !important;
}

.hrml-staff-dashboard--workspace .hrml-salary-tabs.nav-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	margin: 0 0 0.85rem;
	padding: 0;
}

.hrml-staff-dashboard--workspace .hrml-salary-tabs a.nav-link {
	border-radius: 6px;
	padding: 0.35rem 1rem;
	font-size: 0.8125rem;
	font-weight: 500;
	color: #555;
	background: #f3f4f6;
	border: 1px solid #e5e7eb;
}

.hrml-staff-dashboard--workspace .hrml-salary-tabs a.nav-link.active {
	background: linear-gradient(90deg, #da8cff 0%, #9a55ff 100%);
	border-color: transparent;
	color: #fff;
	box-shadow: 0 3px 8px rgba(154, 85, 255, 0.35);
}

.hrml-salary-table {
	margin-bottom: 0;
	width: 100%;
	border-collapse: collapse;
}

.hrml-salary-table tbody tr td {
	padding: 0.9rem 0.25rem;
	border-top: 1px solid #ebebeb;
	font-size: 0.9rem;
	color: #333;
	vertical-align: middle;
	line-height: 1.45;
}

.hrml-salary-table tbody tr:first-child td {
	border-top: none;
	padding-top: 0.15rem;
}

.hrml-salary-table .right-td {
	text-align: right;
	font-weight: 600;
	color: #222;
	white-space: nowrap;
}

.hrml-salary-table .info-span {
	color: #6c757d;
	font-size: 0.88em;
	font-weight: 400;
}

.hrml-salary-table .info-value-span {
	font-weight: 600;
}

.hrml-salary-table tr.final-result-tr td {
	background: linear-gradient(90deg, #da8cff 0%, #9a55ff 100%);
	color: #fff !important;
	border: none;
	font-weight: 600;
	padding: 0.95rem 0.85rem;
	vertical-align: middle;
}

.hrml-salary-table tr.final-result-tr .right-td {
	color: #fff !important;
	text-align: right;
}

.hrml-salary-table tr.final-result-tr .right-td .info-value-span,
.hrml-salary-table tr.final-result-tr .right-td {
	display: inline-block;
	background: #fff;
	color: #333 !important;
	font-weight: 700;
	padding: 0.35rem 0.85rem;
	border-radius: 4px;
	min-width: 4.5rem;
	text-align: center;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Tasks table — light header like pro demo */
.hrml-tasks-card .card-body {
	padding: 0.75rem 1rem 1rem !important;
}

.hrml-tasks-card .table-responsive {
	border-radius: 4px;
	overflow: hidden;
}

.hrml-tasks-table {
	margin-bottom: 0 !important;
}

.hrml-tasks-table thead th {
	background: #dfe6f1 !important;
	color: #333 !important;
	font-weight: 600 !important;
	font-size: 0.78rem !important;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	border: none !important;
	padding: 0.8rem 0.75rem !important;
}

.hrml-tasks-table tbody td {
	font-size: 0.875rem;
	padding: 0.75rem;
	border-color: #eee;
	color: #444;
}

.hrml-tasks-card .dataTables_wrapper .dataTables_info,
.hrml-tasks-card .dataTables_wrapper .dataTables_paginate {
	font-size: 0.8125rem;
	color: #666;
	padding-top: 0.65rem;
}

.hrml-staff-dashboard--workspace .dataTables_length label,
.hrml-staff-dashboard--workspace .dataTables_filter label {
	font-size: 0.875rem;
}

.hrml-staff-dashboard--workspace input.form-control.form-control-sm,
.hrml-staff-dashboard--workspace select.custom-select.custom-select-sm {
	border: 1px solid #c9b8ff;
	border-radius: 4px;
}

.hrml-staff-dashboard--workspace .page-item.active .page-link {
	background: linear-gradient(to right, #da8cff, #9a55ff);
	border-color: #be74ff;
}

/* Corporate Payroll Settlement */
.hrml-payroll-card {
	margin-top: 0.25rem;
}

.hrml-payroll-card__title {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	color: #1e3a5f !important;
	font-weight: 700 !important;
	font-size: 1.15rem !important;
	margin-bottom: 1.35rem !important;
}

.hrml-payroll-card__icon {
	width: 38px;
	height: 38px;
	border-radius: 8px;
	background: linear-gradient(135deg, #9a55ff 0%, #7c4dff 100%);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	flex-shrink: 0;
}

.hrml-payroll-form__row {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 0.75rem;
	margin: 0;
}

.hrml-payroll-form__field {
	flex: 1 1 180px;
	min-width: 140px;
}

.hrml-payroll-form__action {
	flex: 1 1 220px;
	min-width: 200px;
}

.hrml-payroll-form .hrml-payroll-date {
	min-height: 48px;
	border-radius: 6px;
	border: 1px solid #dcdcde;
	font-size: 0.95rem;
	color: #333;
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	padding: 0.5rem 0.85rem;
	width: 100%;
}

.hrml-payroll-form__btn {
	min-height: 48px;
	width: 100%;
	border: none;
	border-radius: 50px;
	font-weight: 600;
	font-size: 0.95rem;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	background: linear-gradient(90deg, #da8cff 0%, #9a55ff 100%);
	box-shadow: 0 4px 14px rgba(154, 85, 255, 0.38);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.hrml-payroll-form__btn:hover,
.hrml-payroll-form__btn:focus {
	color: #fff;
	background: linear-gradient(90deg, #c97bff 0%, #8a45ef 100%);
	box-shadow: 0 6px 18px rgba(154, 85, 255, 0.45);
	transform: translateY(-1px);
}

/* Payroll statement result */
.hrml-payroll-result {
	margin-top: 1.35rem;
}

.hrml-payroll-result__panel {
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
	padding: 1rem 1.15rem 1.15rem;
}

.hrml-payroll-result__actions {
	text-align: right;
	margin-bottom: 0.65rem;
}

.hrml-payroll-print-btn {
	background: #0073aa !important;
	border: 1px solid #0073aa !important;
	color: #fff !important;
	border-radius: 4px;
	padding: 0.45rem 1.1rem;
	font-weight: 500;
	font-size: 0.875rem;
}

.hrml-payroll-print-btn:hover,
.hrml-payroll-print-btn:focus {
	background: #006291 !important;
	border-color: #006291 !important;
	color: #fff !important;
}

.hrml-payroll-slip-table {
	width: 100%;
	border: 1px solid #dcdcde;
	border-collapse: collapse;
	font-size: 0.9rem;
	margin-bottom: 0;
}

.hrml-payroll-slip-table td {
	padding: 0.9rem 1rem;
	vertical-align: middle;
	border: 1px solid #e8e8e8;
}

.hrml-payroll-slip-table__label {
	width: 22%;
	font-weight: 700;
	color: #333;
	background: #f8f7fc;
}

.hrml-payroll-slip-table__value {
	color: #222;
	background: #fff;
}

.hrml-payroll-slip-table tbody tr:nth-child(even) .hrml-payroll-slip-table__label {
	background: #f3f0fa;
}

.hrml-payroll-slip-table tbody tr:nth-child(even) .hrml-payroll-slip-table__value {
	background: #faf9fd;
}

.hrml-payroll-slip-table__row--name .hrml-payroll-slip-table__label {
	width: 22%;
}

.hrml-payroll-slip-table__row--name .hrml-payroll-slip-table__value {
	font-weight: 500;
}

@media print {
	body.hrml-print-payroll-active * {
		visibility: hidden;
	}

	body.hrml-print-payroll-active #payroll_statement_wrap,
	body.hrml-print-payroll-active #payroll_statement_wrap * {
		visibility: visible;
	}

	body.hrml-print-payroll-active #payroll_statement_wrap {
		position: absolute;
		left: 0;
		top: 0;
		width: 100%;
	}

	body.hrml-print-payroll-active .hrml-payroll-result__actions {
		display: none !important;
	}
}

@media (max-width: 991px) {
	.hrml-sd-hero__title {
		font-size: 1.3rem;
	}

	.hrml-staff-dashboard .current_time_clock .d-flex.flex-wrap.justify-content-center.mt-2 {
		font-size: 1.5rem !important;
	}

	.hrml-staff-dashboard .current_time_clock .badge {
		font-size: 1.5rem !important;
	}
}

@media (max-width: 767px) {
	.hrml-staff-dashboard .content-wrapper,
	.hrml-staff-dashboard .detail-panel .content-wrapper {
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.hrml-staff-dashboard #ehrm_clock_btns .btn {
		min-width: 100%;
	}

	.hrml-payroll-form__field,
	.hrml-payroll-form__action {
		flex: 1 1 100%;
	}

	.hrml-payroll-slip-table__label {
		width: 38%;
		font-size: 0.82rem;
		padding: 0.65rem 0.5rem;
	}

	.hrml-payroll-slip-table__value {
		font-size: 0.82rem;
		padding: 0.65rem 0.5rem;
	}
}

/* Staff dashboard demo-matched layout */
.hrml-staff-dashboard.main-panel {
	background: #f7fafc;
}

.hrml-staff-dashboard.main-panel .content-wrapper {
	max-width: 1585px;
	margin: 0 auto;
	padding: 1.6rem 4rem 2.25rem;
}

.hrml-sd-hero {
	min-height: 136px;
	padding: 2.15rem 4rem;
	margin-bottom: 2.15rem;
	border: 1px solid #edf1f6;
	border-radius: 17px;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.hrml-sd-hero__main {
	gap: 1.2rem;
}

.hrml-sd-hero__icon {
	width: 58px;
	height: 58px;
	border-radius: 14px;
	font-size: 1.45rem;
	box-shadow: 0 12px 24px rgba(124, 58, 237, 0.22);
}

.hrml-sd-hero__title {
	margin-bottom: 0.28rem;
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: 0;
	color: #14223a;
}

.hrml-sd-hero__subtitle {
	max-width: 760px;
	font-size: 1rem;
	color: #9099a8;
}

.hrml-sd-hero__time {
	min-width: 120px;
	padding: 0.62rem 1.1rem;
	border: 1px solid #e6ebf2;
	border-radius: 999px;
	background: #fbfcfe;
	color: #26364f;
	font-size: 0.95rem;
	font-weight: 800;
	text-align: center;
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.hrml-sd-stats {
	margin: 0 -25px 2.15rem;
}

.hrml-sd-stats > [class*="col-"] {
	padding-left: 25px;
	padding-right: 25px;
	margin-bottom: 0;
}

.hrml-sd-stat-card {
	
	padding: 1.55rem 1.75rem;
	border: 0;
	border-left: 5px solid #7c3aed;
	border-radius: 16px;
	box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.hrml-sd-stat-card::before,
.hrml-sd-stat-card::after {
	content: "";
	position: absolute;
	left: -7px;
	width: 38px;
	height: 18px;
	background: #fff;
}

.hrml-sd-stat-card::before {
	top: -1px;
	border-bottom-right-radius: 16px;
}

.hrml-sd-stat-card::after {
	bottom: -1px;
	border-top-right-radius: 16px;
}

.hrml-sd-stat-card--hours {
	border-left-color: #1377f2;
}

.hrml-sd-stat-card--attendance {
	border-left-color: #0baa75;
}

.hrml-sd-stat-card--absent {
	border-left-color: #974cff;
}

.hrml-sd-stat-card__label {
	font-size: 0.78rem;
	font-weight: 800;
	color: #8b98aa;
	margin-bottom: 0.55rem;
}

.hrml-sd-stat-card__value {

    max-width: calc(100% - 88px);
    font-size: 2.05rem;
    font-weight: 00;
    line-height: 1;
    color: #292d54;
}

.hrml-sd-stat-card--welcome .hrml-sd-stat-card__value {
	max-width: 100%;
	color: #2a2d55;
}

.hrml-sd-stat-card--hours .hrml-sd-stat-card__value {
	font-size: 1.95rem;
}

.hrml-sd-stat-card__hint {
	margin-top: 0.42rem;
	font-size: 0.84rem;
	color: #748197;
}

.hrml-sd-stat-card__avatar {
	display: none;
}

.hrml-sd-stat-card__icon {
	right: 1.45rem;
	width: 66px;
	height: 66px;
	border-radius: 16px;
	font-size: 1.55rem;
}

.hrml-sd-stat-card--hours .hrml-sd-stat-card__icon {
	background: #eaf6ff;
	color: #2493f6;
}

.hrml-sd-stat-card--attendance .hrml-sd-stat-card__icon {
	background: #e9f8f5;
	color: #16b5a3;
}

.hrml-sd-stat-card--absent .hrml-sd-stat-card__icon {
	background: #f2e8ff;
	color: #9856ff;
}

.hrml-sd-stat-card--absent .hrml-sd-stat-card__value a {
	color: #136cf3;
}

.hrml-sd-session-panel {
	padding: 2.1rem 2.5rem 2.75rem;
	margin-bottom: 2.15rem;
	border: 1px solid #edf1f6;
	border-radius: 17px;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.hrml-sd-session-panel__title {
	margin-bottom: 2.4rem;
	font-size: 1.3rem;
	font-weight: 800;
	color: #24364d;
}

.hrml-staff-dashboard .row.ehrm_clock_div {
	align-items: center;
}

.hrml-staff-dashboard #ehrm_clock_btns .breadcrumb {
	gap: 0.65rem;
	align-items: center;
}

.hrml-staff-dashboard #ehrm_clock_btns .btn {
	min-width: 165px;
	min-height: 60px;
	border-radius: 4px !important;
	padding: 0.82rem 1.35rem !important;
	font-size: 0.96rem !important;
	font-weight: 800 !important;
	color: #fff !important;
}

.hrml-staff-dashboard #ehrm_clock_btns .btn-gradient-info,
.hrml-staff-dashboard #ehrm_clock_btns .btn-info {
	background: linear-gradient(135deg, #65d8cb 0%, #08bea9 100%) !important;
	border: 0 !important;
	box-shadow: 0 8px 20px rgba(20, 184, 166, 0.22) !important;
}

.hrml-staff-dashboard .bootstrap-clock-div {
	justify-content: flex-end;
}

.hrml-staff-dashboard .current_time_clock {
	width: auto;
	min-width: 465px;
}

.hrml-staff-dashboard .current_time_clock .card.bg-dark {
	min-height: 104px;
	padding: 1.3rem 1.65rem;
	border-radius: 16px;
	background: #1d2439 !important;
	box-shadow: 0 18px 36px rgba(29, 36, 57, 0.2);
}

.hrml-staff-dashboard .current_time_clock .d-flex.flex-wrap.justify-content-center.mt-2 {
	align-items: center;
	gap: 16px;
	color: #555d70;
	font-size: 2rem !important;
	line-height: 1;
	letter-spacing: 0;
}

.hrml-staff-dashboard .current_time_clock .d-flex.flex-wrap.justify-content-center.mt-2::before {
	content: "\f017";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	color: #9a55ff;
	font-size: 2.05rem;
	margin-right: 2px;
}

.hrml-staff-dashboard .current_time_clock .d-flex a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 86px;
	height: 64px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 8px;
	background: #252d45;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hrml-staff-dashboard .current_time_clock .badge {
	padding: 0 !important;
	font-size: 2.38rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.03em;
}

.hrml-sd-panel {
	border: 1px solid #edf1f6;
	border-radius: 17px;
	box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

.hrml-sd-panel--accent-blue {
	border-left: 5px solid #3b82f6;
}

.hrml-sd-panel__head {
	padding: 1.75rem 2rem 1.35rem;
	border-bottom: 1px solid #edf1f6;
}

.hrml-sd-panel__title {
	font-size: 1.22rem;
	font-weight: 800;
	color: #2f65ff;
}

.hrml-staff-dashboard .usser_activity_alerts {
	padding: 1rem 1.8rem 2.25rem;
}

.hrml-staff-dashboard .usser_activity_alerts .alert {
	position: relative;
	min-height: 64px;
	margin: 0;
	padding: 1.25rem 1.35rem 1.25rem 5.9rem;
	border: 1px solid #e3eaf2;
	border-left: 5px solid #ff762e;
	border-radius: 14px;
	background: #fff !important;
	box-shadow: none;
	color: #26364f;
	font-size: 0.95rem;
}

.hrml-staff-dashboard .usser_activity_alerts .alert::before {
	content: "\f017";
	position: absolute;
	left: 1.55rem;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	border-radius: 15px;
	background: #fff4e3;
	color: #ff762e;
	font-family: "Font Awesome 5 Free";
	font-size: 1.15rem;
	font-weight: 900;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hrml-staff-dashboard .usser_activity_alerts .alert strong,
.hrml-staff-dashboard .usser_activity_alerts .alert b {
	color: #0f172a;
	font-weight: 800;
}

@media (max-width: 1400px) {
	.hrml-staff-dashboard.main-panel .content-wrapper {
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}

	.hrml-sd-stats {
		margin-left: -12px;
		margin-right: -12px;
	}

	.hrml-sd-stats > [class*="col-"] {
		padding-left: 12px;
		padding-right: 12px;
	}

	.hrml-staff-dashboard .current_time_clock {
		min-width: 390px;
	}
}

.hrml-staff-dashboard .usser_activity_alerts .hrml-sd-activity-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.hrml-sd-activity-item__content {
	display: flex;
	flex-direction: column;
	gap: 0.18rem;
	min-width: 0;
}

.hrml-sd-activity-item__content strong {
	display: block;
	font-size: 1.05rem;
	line-height: 1.2;
}

.hrml-sd-activity-item__content span {
	color: #516178;
	font-size: 0.95rem;
	line-height: 1.35;
}

.hrml-sd-activity-item__time {
	flex: 0 0 auto;
	min-width: 102px;
	padding: 0.52rem 0.85rem;
	border: 1px solid #dbe4ef;
	border-radius: 10px;
	background: #f8fafc;
	color: #10213a;
	font-weight: 800;
	text-align: center;
}

.hrml-sd-stat-card__icon {
	position: absolute;
}

.hrml-sd-stat-card__icon .hrml-sd-stat-card__icon-mark {
	position: absolute;
	right: 17px;
	top: 18px;
	font-size: 0.58rem;
	color: currentColor;
}

@media (max-width: 767px) {
	.hrml-staff-dashboard .usser_activity_alerts .hrml-sd-activity-item {
		align-items: flex-start;
		flex-direction: column;
	}
}

@media (max-width: 1199px) {
	.hrml-staff-dashboard .bootstrap-clock-div {
		margin-top: 1.4rem;
		justify-content: flex-start;
	}

	.hrml-staff-dashboard .current_time_clock {
		min-width: 100%;
	}
}

@media (max-width: 767px) {
	.hrml-staff-dashboard.main-panel .content-wrapper {
		padding: 1rem;
	}

	.hrml-sd-hero {
		padding: 1.4rem;
	}

	.hrml-sd-stats {
		margin-left: 0;
		margin-right: 0;
	}

	.hrml-sd-stats > [class*="col-"] {
		padding-left: 0;
		padding-right: 0;
		margin-bottom: 1rem;
	}

	.hrml-sd-session-panel {
		padding: 1.35rem;
	}

	.hrml-staff-dashboard .current_time_clock .d-flex a {
		min-width: 62px;
		height: 54px;
	}

	.hrml-staff-dashboard .current_time_clock .badge {
		font-size: 1.55rem !important;
	}
}

/* Tighter demo parity for the staff dashboard first fold */
@media (min-width: 1200px) {
	.hrml-staff-dashboard.main-panel .content-wrapper {
		max-width: none;
		padding: 0.72rem 4.35rem 2.35rem;
	}

	.hrml-sd-hero {
		margin-bottom: 2.15rem;
		padding: 2.1rem 4rem;
	}

	.hrml-sd-stats.row {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 0 32px;
		margin: 0 0 2.15rem;
	}

	.hrml-sd-stats.row::before,
	.hrml-sd-stats.row::after {
		display: none;
	}

	.hrml-sd-stats.row > [class*="col-"] {
		width: auto;
		max-width: none;
		flex: initial;
		padding: 0;
	}

	.hrml-sd-session-panel {
		min-height: 250px;
		padding: 2.08rem 2.5rem 2.85rem;
	}

	.hrml-staff-dashboard .row.ehrm_clock_div {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 435px;
		gap: 1.75rem;
	}

	.hrml-staff-dashboard .row.ehrm_clock_div::before,
	.hrml-staff-dashboard .row.ehrm_clock_div::after {
		display: none;
	}

	.hrml-staff-dashboard .row.ehrm_clock_div > [class*="col-"] {
		width: auto;
		max-width: none;
		padding: 0;
	}

	.hrml-staff-dashboard .bootstrap-clock-div {
		margin-top: 0;
	}
}

@media (min-width: 1200px) and (max-width: 1530px) {
	.hrml-staff-dashboard.main-panel .content-wrapper {
		padding-left: 2.6rem;
		padding-right: 2.6rem;
	}

	.hrml-sd-stats.row {
		gap: 0 18px;
	}

	.hrml-staff-dashboard .row.ehrm_clock_div {
		grid-template-columns: minmax(0, 1fr) 365px;
	}

	.hrml-staff-dashboard .current_time_clock {
		min-width: 365px;
	}
}

/* ==========================================================================
   FLAT CORPORATE POLISH & PARITY (OVERRIDE BLOCK)
   ========================================================================== */

/* Root styling variables for Staff Dashboard */
.hrml-staff-dashboard {
    --hrm-primary-color: #4f46e5;
    --hrm-primary-hover: #4338ca;
    --hrm-border-color: #cbd5e1;
    --hrm-bg-light: #f8fafc;
    --hrm-text-main: #0f172a;
    --hrm-text-muted: #64748b;
    --hrm-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Page Background */
.hrml-staff-dashboard.main-panel,
.hrml-staff-dashboard.detail-panel,
.hrml-staff-dashboard.second-level-panel {
    background: #f1f5f9 !important;
}

/* Hero Panel */
.hrml-sd-hero {
    background: #ffffff !important;
    border: 1px solid var(--hrm-border-color) !important;
    box-shadow: var(--hrm-shadow-sm) !important;
    border-radius: 12px !important;
    padding: 20px 24px !important;
}

.hrml-sd-hero__icon {
    background: var(--hrm-primary-color) !important;
    box-shadow: none !important;
    border-radius: 8px !important;
}

.hrml-sd-hero__title {
    color: var(--hrm-text-main) !important;
}

.hrml-sd-hero__subtitle {
    color: var(--hrm-text-muted) !important;
}

.hrml-sd-hero__time {
    border: 1px solid var(--hrm-border-color) !important;
    background: #ffffff !important;
    color: var(--hrm-text-main) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
}

/* Stat Cards with Equal Height Stretch & Vertical Centering */
.hrml-sd-stat-card {
    background: #ffffff !important;
    border: 1px solid var(--hrm-border-color) !important;
    border-left: 1px solid var(--hrm-border-color) !important;
    box-shadow: var(--hrm-shadow-sm) !important;
    border-radius: 8px !important;
    height: 100% !important; /* Stretch card container to full column height */
    width: 100% !important;
    max-width: none !important;
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Vertically center details */
    padding: 20px !important;
    box-sizing: border-box !important;
}

.hrml-sd-stat-card::before,
.hrml-sd-stat-card::after {
    display: none !important; /* Remove custom corner cutouts */
}

.hrml-sd-stat-card__avatar {
    display: block !important;
    position: relative !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 1px solid var(--hrm-border-color) !important;
}

.hrml-sd-stat-card__avatar img {
    position: relative !important;
    z-index: 2 !important;
    background: transparent !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.hrml-sd-stat-card__avatar .avatar-placeholder {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    font-size: 50px !important;
    color: #cbd5e1 !important;
    z-index: 1 !important;
}

.hrml-sd-stat-card__label {
    color: var(--hrm-text-muted) !important;
    font-weight: 700 !important;
    font-size: 11px !important;
}

.hrml-sd-stat-card__value {
    color: var(--hrm-text-main) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
}

.hrml-sd-stat-card__hint {
    color: var(--hrm-text-muted) !important;
    font-size: 12px !important;
}

.hrml-sd-stat-card__icon {
    box-shadow: none !important;
    border-radius: 8px !important;
}

.hrml-sd-stat-card--hours .hrml-sd-stat-card__icon {
    background: #eff6ff !important;
    color: #3b82f6 !important;
}

.hrml-sd-stat-card--attendance .hrml-sd-stat-card__icon {
    background: #f0fdf4 !important;
    color: #16a34a !important;
}

.hrml-sd-stat-card--absent .hrml-sd-stat-card__icon {
    background: #f5f3ff !important;
    color: #8b5cf6 !important;
}

.hrml-sd-stat-card--absent .hrml-sd-stat-card__value a {
    color: var(--hrm-primary-color) !important;
}

/* Session Control Panel */
.hrml-sd-session-panel {
    background: #ffffff !important;
    border: 1px solid var(--hrm-border-color) !important;
    box-shadow: var(--hrm-shadow-sm) !important;
    border-radius: 12px !important;
    padding: 24px !important;
}

.hrml-sd-session-panel__title {
    color: var(--hrm-text-main) !important;
    margin-bottom: 20px !important;
}

/* Align clock panel container content vertically */
.hrml-staff-dashboard .row.ehrm_clock_div {
    align-items: center !important;
}

/* Session Buttons - Flat & Motionless */
.hrml-staff-dashboard #ehrm_clock_btns .btn {
    border-radius: 6px !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    transition: none !important;
    transform: none !important;
    height: auto !important;
    min-height: auto !important;
    min-width: 120px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
}

.hrml-staff-dashboard #ehrm_clock_btns .btn:hover {
    transform: none !important;
    box-shadow: none !important;
}

.hrml-staff-dashboard #ehrm_clock_btns .btn-gradient-danger,
.hrml-staff-dashboard #ehrm_clock_btns .btn-danger {
    background: #dc2626 !important; /* Office Out */
}
.hrml-staff-dashboard #ehrm_clock_btns .btn-gradient-danger:hover,
.hrml-staff-dashboard #ehrm_clock_btns .btn-danger:hover {
    background: #b91c1c !important;
}

.hrml-staff-dashboard #ehrm_clock_btns .btn-gradient-success,
.hrml-staff-dashboard #ehrm_clock_btns .btn-success {
    background: #16a34a !important; /* Lunch In / Out */
}
.hrml-staff-dashboard #ehrm_clock_btns .btn-gradient-success:hover,
.hrml-staff-dashboard #ehrm_clock_btns .btn-success:hover {
    background: #15803d !important;
}

.hrml-staff-dashboard #ehrm_clock_btns .btn-gradient-info,
.hrml-staff-dashboard #ehrm_clock_btns .btn-info {
    background: #ea580c !important; /* Late Reason */
    box-shadow: none !important;
}
.hrml-staff-dashboard #ehrm_clock_btns .btn-gradient-info:hover,
.hrml-staff-dashboard #ehrm_clock_btns .btn-info:hover {
    background: #ca8a04 !important;
}

.hrml-staff-dashboard #ehrm_clock_btns .btn-gradient-primary,
.hrml-staff-dashboard #ehrm_clock_btns .btn-primary {
    background: var(--hrm-primary-color) !important; /* Daily Report */
}
.hrml-staff-dashboard #ehrm_clock_btns .btn-gradient-primary:hover,
.hrml-staff-dashboard #ehrm_clock_btns .btn-primary:hover {
    background: var(--hrm-primary-hover) !important;
}

/* Digital Clock Panel */
.hrml-staff-dashboard .current_time_clock .card.bg-dark {
    background: #0f172a !important; /* Flat dark background */
    box-shadow: none !important;
    border: 1px solid #1e293b !important;
    border-radius: 12px !important;
    min-height: auto !important;
    padding: 16px 20px !important;
}

.hrml-staff-dashboard .current_time_clock .d-flex.flex-wrap.justify-content-center.mt-2 {
    color: #cbd5e1 !important;
    font-family: monospace !important;
    font-size: 2rem !important;
}

.hrml-staff-dashboard .current_time_clock .d-flex.flex-wrap.justify-content-center.mt-2::before {
    color: var(--hrm-primary-color) !important;
    font-size: 1.8rem !important;
}

.hrml-staff-dashboard .current_time_clock .d-flex a {
    background: #1e293b !important;
    border: 1px solid #334155 !important;
    height: 52px !important;
    min-width: 70px !important;
    box-shadow: none !important;
}

.hrml-staff-dashboard .current_time_clock .badge {
    color: #ffffff !important;
    font-size: 2rem !important;
}

/* Activity Panels */
.hrml-sd-panel {
    background: #ffffff !important;
    border: 1px solid var(--hrm-border-color) !important;
    box-shadow: var(--hrm-shadow-sm) !important;
    border-radius: 12px !important;
}

.hrml-sd-panel--accent-blue { border-left: 1px solid var(--hrm-border-color) !important; }
.hrml-sd-panel--accent-orange { border-left: 1px solid var(--hrm-border-color) !important; }
.hrml-sd-panel--accent-green { border-left: 1px solid var(--hrm-border-color) !important; }
.hrml-sd-panel--accent-pink { border-left: 1px solid var(--hrm-border-color) !important; }

.hrml-sd-panel__head {
    border-bottom: 1px solid var(--hrm-border-color) !important;
    padding: 16px 20px !important;
}

.hrml-sd-panel__title {
    font-size: 14px !important;
    font-weight: 700 !important;
}

.hrml-sd-panel--accent-blue .hrml-sd-panel__title { color: #2563eb !important; }
.hrml-sd-panel--accent-orange .hrml-sd-panel__title { color: #c2410c !important; }
.hrml-sd-panel--accent-green .hrml-sd-panel__title { color: #15803d !important; }
.hrml-sd-panel--accent-pink .hrml-sd-panel__title { color: #be185d !important; }

/* Activity Alerts */
.hrml-staff-dashboard .usser_activity_alerts {
    padding: 16px !important;
}

.hrml-staff-dashboard .usser_activity_alerts .alert {
    border: 1px solid #e2e8f0 !important;
    border-left: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    padding: 12px 16px 12px 48px !important;
    font-size: 13px !important;
    color: var(--hrm-text-main) !important;
    min-height: auto !important;
}

.hrml-staff-dashboard .usser_activity_alerts .alert::before {
    left: 12px !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    font-size: 12px !important;
}

.hrml-sd-activity-item__content strong {
    font-size: 13px !important;
    font-weight: 700 !important;
}

.hrml-sd-activity-item__content span {
    font-size: 12px !important;
    color: var(--hrm-text-muted) !important;
}

.hrml-sd-activity-item__time {
    font-size: 12px !important;
    padding: 4px 8px !important;
    border-radius: 4px !important;
    border: 1px solid var(--hrm-border-color) !important;
    background: #f8fafc !important;
    color: var(--hrm-text-main) !important;
}

/* Boards (Notices, Events, Holidays) */
.hrml-staff-dashboard--boards .card {
    background: #ffffff !important;
    border: 1px solid var(--hrm-border-color) !important;
    box-shadow: var(--hrm-shadow-sm) !important;
    border-radius: 12px !important;
}

.hrml-board-card {
    border-top: none !important;
}

.hrml-board-card .card-title {
    color: var(--hrm-text-main) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
}

.hrml-board-table thead th {
    background: #f8fafc !important;
    color: var(--hrm-text-muted) !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    border-bottom: 1px solid var(--hrm-border-color) !important;
    padding: 10px 8px !important;
    text-transform: uppercase !important;
}

.hrml-board-table tbody td {
    font-size: 13px !important;
    color: var(--hrm-text-main) !important;
    border-bottom: 1px solid var(--hrm-border-color) !important;
    padding: 10px 8px !important;
    background: transparent !important;
}

.hrml-board-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Workspace Panels (Compensation, Tasks, Payroll) */
.hrml-staff-dashboard--workspace .hrml-workspace-card,
.hrml-staff-dashboard--workspace .hrml-payroll-card {
    background: #ffffff !important;
    border: 1px solid var(--hrm-border-color) !important;
    box-shadow: var(--hrm-shadow-sm) !important;
    border-radius: 12px !important;
}

.hrml-workspace-card .card-title,
.hrml-payroll-card__title {
    color: var(--hrm-text-main) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* Salary Summary Tab Controls */
.hrml-staff-dashboard--workspace .hrml-salary-tabs a.nav-link {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    color: var(--hrm-text-muted) !important;
    border-radius: 6px !important;
    padding: 6px 12px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
}

.hrml-staff-dashboard--workspace .hrml-salary-tabs a.nav-link.active {
    background: var(--hrm-primary-color) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

/* Salary Slip Tables */
.hrml-salary-table tbody tr td {
    border-top: 1px solid var(--hrm-border-color) !important;
    font-size: 13px !important;
    color: var(--hrm-text-main) !important;
    padding: 10px 4px !important;
}

.hrml-salary-table tr.final-result-tr td {
    background: var(--hrm-primary-color) !important;
    color: #ffffff !important;
    padding: 12px 10px !important;
}

.hrml-salary-table tr.final-result-tr .right-td {
    color: #ffffff !important;
}

.hrml-salary-table tr.final-result-tr .right-td .info-value-span,
.hrml-salary-table tr.final-result-tr .right-td {
    background: #ffffff !important;
    color: var(--hrm-text-main) !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

/* Tasks Card DataTables */
.hrml-tasks-table thead th {
    background: #f8fafc !important;
    color: var(--hrm-text-muted) !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid var(--hrm-border-color) !important;
}

.hrml-tasks-table tbody td {
    font-size: 13px !important;
    color: var(--hrm-text-main) !important;
    padding: 10px 14px !important;
}

.hrml-staff-dashboard--workspace .dataTables_length select,
.hrml-staff-dashboard--workspace .dataTables_filter input {
    height: 34px !important;
    min-height: 34px !important;
    border: 1px solid var(--hrm-border-color) !important;
    border-radius: 6px !important;
    padding: 4px 8px !important;
    font-size: 13px !important;
    color: var(--hrm-text-main) !important;
}

.hrml-staff-dashboard--workspace .page-item.active .page-link {
    background: var(--hrm-primary-color) !important;
    border-color: transparent !important;
}

/* Payroll Form elements */
.hrml-payroll-card__icon {
    background: var(--hrm-primary-color) !important;
    border-radius: 6px !important;
}

.hrml-payroll-form .hrml-payroll-date {
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 6px !important;
    border: 1px solid var(--hrm-border-color) !important;
    font-size: 13px !important;
    padding: 6px 12px !important;
    box-shadow: none !important;
}

.hrml-payroll-form__btn {
    height: 38px !important;
    min-height: 38px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    background: var(--hrm-primary-color) !important;
    box-shadow: none !important;
    transition: none !important;
    transform: none !important;
}

.hrml-payroll-form__btn:hover {
    background: var(--hrm-primary-hover) !important;
    box-shadow: none !important;
    transform: none !important;
}

.hrml-payroll-result__panel {
    border: 1px solid var(--hrm-border-color) !important;
    border-radius: 8px !important;
    padding: 16px !important;
}

.hrml-payroll-print-btn {
    background: #0284c7 !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
}

.hrml-payroll-print-btn:hover {
    background: #0369a1 !important;
}

.hrml-payroll-slip-table {
    border: 1px solid var(--hrm-border-color) !important;
}

.hrml-payroll-slip-table td {
    padding: 10px 14px !important;
    border: 1px solid var(--hrm-border-color) !important;
}

.hrml-payroll-slip-table__label {
    background: #f8fafc !important;
    color: var(--hrm-text-muted) !important;
}

/* Enforce uniform bottom margins */
.hrml-sd-hero,
.hrml-sd-stats,
.hrml-sd-session-panel,
.hrml-sd-panel,
.hrml-staff-dashboard--boards .card {
    margin-bottom: 24px !important;
}

