/**
 * HR Management Lite - Staff Requests
 */
.hrml-staff-requests {
	background: #f0f0f1;
}

.hrml-staff-requests .content-wrapper {
	padding: 1.5rem 4rem 2.25rem;
}

.hrml-req-hero {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid #eef2f7;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
	margin-bottom: 1.85rem;
	padding: 1.55rem 1.75rem;
}

.hrml-req-hero__main {
	display: flex;
	align-items: center;
	gap: 1.15rem;
	min-width: 0;
}

.hrml-req-hero__icon {
	align-items: center;
	background: #4f46e5;
	border-radius: 13px;
	box-shadow: none;
	color: #fff;
	display: flex;
	flex: 0 0 58px;
	font-size: 1.35rem;
	height: 58px;
	justify-content: center;
	width: 58px;
}

.hrml-req-hero__title {
	color: #13243d;
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 0.4rem;
}

.hrml-req-hero__subtitle {
	color: #8b95a5;
	font-size: 0.95rem;
	line-height: 1.5;
	margin: 0;
}

.hrml-req-panel {
	background: #fff;
	border: 1px solid #eef2f7;
	border-left: 1px solid #eef2f7 !important;
	border-radius: 14px;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
	padding: 2rem 2.2rem 2.25rem;
}

.hrml-req-panel__head {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: space-between;
	margin-bottom: 2.15rem;
}

.hrml-req-panel__title {
	color: #11a96f;
	font-size: 1.22rem;
	font-weight: 700;
	line-height: 1.35;
	margin: 0;
}

.hrml-req-create-btn {
	align-items: center;
	background: #4f46e5 !important;
	border: 0 !important;
	border-radius: 9px !important;
	box-shadow: none !important;
	color: #fff !important;
	display: inline-flex;
	font-size: 0.98rem !important;
	font-weight: 700 !important;
	gap: 0.55rem;
	justify-content: center;
	min-height: 50px;
	padding: 0.75rem 1.45rem !important;
	white-space: nowrap;
}

.hrml-req-create-btn:hover,
.hrml-req-create-btn:focus {
	background: #4338ca !important;
	color: #fff !important;
	transform: translateY(-1px);
}

.hrml-req-panel__body {
	overflow: hidden;
}

.hrml-staff-requests .table-responsive {
	overflow-x: auto;
}

.hrml-req-table {
	border-collapse: separate !important;
	border-spacing: 0 10px !important;
	color: #253a59;
	margin: 0 !important;
	min-width: 1280px;
	table-layout: fixed;
	width: 100%;
}

.hrml-req-table thead tr,
.hrml-req-table tfoot tr {
	background: #f4f6fb !important;
	color: #4b5d7c !important;
}

.hrml-req-table thead th,
.hrml-req-table tfoot th {
	border: 0 !important;
	font-size: 0.78rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
	line-height: 1.1;
	padding: 1rem 1.45rem !important;
	text-transform: uppercase;
	vertical-align: middle;
	white-space: nowrap;
}

.hrml-req-table thead th:nth-child(1),
.hrml-req-table tfoot th:nth-child(1) {
	width: 5%;
}

.hrml-req-table thead th:nth-child(2),
.hrml-req-table tfoot th:nth-child(2) {
	width: 10%;
}

.hrml-req-table thead th:nth-child(3),
.hrml-req-table tfoot th:nth-child(3) {
	width: 8%;
	white-space: normal;
}

.hrml-req-table thead th:nth-child(4),
.hrml-req-table tfoot th:nth-child(4) {
	width: 12%;
	white-space: normal;
}

.hrml-req-table thead th:nth-child(5),
.hrml-req-table tfoot th:nth-child(5) {
	width: 11%;
	white-space: normal;
}

.hrml-req-table thead th:nth-child(6),
.hrml-req-table tfoot th:nth-child(6) {
	width: 17%;
}

.hrml-req-table thead th:nth-child(7),
.hrml-req-table tfoot th:nth-child(7) {
	width: 8%;
}

.hrml-req-table thead th:nth-child(8),
.hrml-req-table tfoot th:nth-child(8) {
	width: 9%;
}

.hrml-req-table thead th:nth-child(9),
.hrml-req-table tfoot th:nth-child(9) {
	width: 10%;
	white-space: normal;
}

.hrml-req-table thead th:nth-child(10),
.hrml-req-table tfoot th:nth-child(10) {
	width: 10%;
	text-align: center;
}

.hrml-req-table thead th:first-child,
.hrml-req-table tfoot th:first-child {
	border-bottom-left-radius: 10px;
	border-top-left-radius: 10px;
}

.hrml-req-table thead th:last-child,
.hrml-req-table tfoot th:last-child {
	border-bottom-right-radius: 10px;
	border-top-right-radius: 10px;
}

.hrml-req-table tbody tr {
	background: #fff;
	box-shadow: 0 0 0 1px #edf1f7;
}

.hrml-req-table tbody tr:hover {
	box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08), 0 0 0 1px #e4e9f2;
}

.hrml-req-table tbody td {
	background: #fff !important;
	border-bottom: 1px solid #edf1f7 !important;
	border-top: 1px solid #edf1f7 !important;
	color: #253a59;
	font-size: 0.96rem;
	font-weight: 500;
	line-height: 1.25;
	padding: 1.18rem 1.45rem !important;
	vertical-align: middle;
}

.hrml-req-table tbody td:first-child {
	border-left: 1px solid #edf1f7 !important;
	border-bottom-left-radius: 10px;
	border-top-left-radius: 10px;
	font-weight: 700;
}

.hrml-req-table tbody td:last-child {
	border-right: 1px solid #edf1f7 !important;
	border-bottom-right-radius: 10px;
	border-top-right-radius: 10px;
}

.hrml-req-table tbody td:nth-child(2),
.hrml-req-table tbody td:nth-child(6) {
	font-weight: 700;
}

.hrml-req-table tbody td:nth-child(7) {
	text-align: center;
}

.hrml-req-table tbody td:nth-child(10) {
	text-align: center;
}

.hrml-req-days {
	background: #d6d6d6;
	border-radius: 999px;
	color: #fff;
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 800;
	justify-content: center;
	min-width: 38px;
	padding: 0.25rem 0.65rem;
}

.hrml-req-approved-by {
	color: #9aa0aa !important;
	font-style: italic;
	font-weight: 500 !important;
	line-height: 1.05 !important;
}

.hrml-req-table .status-Pending span,
.hrml-req-table .status-Processing span {
	background: #3b82f6 !important;
	border-radius: 3px !important;
	color: #fff;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 0.45rem 0.65rem !important;
}

.hrml-req-table .status-Approved span {
	background: #16a34a !important;
	border-radius: 3px !important;
	color: #fff;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 0.45rem 0.65rem !important;
}

.hrml-req-table .status-Canceled span {
	background: #ef4444 !important;
	border-radius: 3px !important;
	color: #fff;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 700;
	padding: 0.45rem 0.65rem !important;
}

.hrml-staff-requests .designation-action-tools-ul {
	display: flex !important;
	gap: 0.65rem;
	justify-content: center;
	margin: 0;
	padding: 0;
}

.hrml-staff-requests li.designation-action-tools-li {
	display: inline-flex;
	margin: 0;
}

.hrml-staff-requests a.designation-action-tools-a {
	align-items: center;
	border-radius: 11px;
	box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
	color: #fff;
	display: inline-flex;
	font-size: 0.95rem;
	height: 46px;
	justify-content: center;
	padding: 0 !important;
	width: 46px;
}

.hrml-staff-requests a.designation-action-tools-a.request-edit-a {
	background: #4f46e5 !important;
}

.hrml-staff-requests a.designation-action-tools-a.request-delete-a {
	background: #ef4444 !important;
}

.hrml-req-empty-row td {
	color: #8b95a5 !important;
	font-style: italic;
	text-align: center;
}

.hrml-staff-requests .modal .card {
	border: 0;
	border-radius: 12px;
}

@media (max-width: 991px) {
	.hrml-staff-requests .content-wrapper {
		padding: 1.25rem 1rem 2rem;
	}

	.hrml-req-panel {
		padding: 1.5rem;
	}
}

@media (max-width: 767px) {
	.hrml-req-hero {
		padding: 1.2rem;
	}

	.hrml-req-hero__main,
	.hrml-req-panel__head {
		align-items: flex-start;
		flex-direction: column;
	}

	.hrml-req-create-btn {
		width: 100%;
	}
}
