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

.hrml-staff-projects .content-wrapper {
	background: #f0f0f1;
	padding: 0 1.55rem 1.5rem;
}

.hrml-project-shell {
	background: #f8fafc;
	border-radius: 24px;
	box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.7);
	min-height: 820px;
	padding: 4rem 4rem 0;
}

.hrml-project-hero {
	align-items: center;
	background: #fff;
	border: 1px solid #eef2f7;
	border-radius: 16px;
	box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
	display: flex;
	gap: 1.25rem;
	justify-content: space-between;
	margin-bottom: 1.8rem;
	padding: 2rem 4rem;
}

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

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

.hrml-project-hero__title {
	color: #10233d;
	font-size: 1.55rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 0.45rem;
}

.hrml-project-hero__subtitle {
	color: #929baa;
	font-size: 0.95rem;
	line-height: 1.45;
	margin: 0;
}

.hrml-project-date {
	align-items: center;
	background: #fbfcff;
	border: 1px solid #e7ebf1;
	border-radius: 999px;
	color: #263954;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.95rem;
	font-weight: 800;
	gap: 0.65rem;
	min-height: 45px;
	padding: 0.55rem 1.35rem;
	white-space: nowrap;
}

.hrml-project-date i {
	color: #6f83f5;
}

.hrml-project-panel {
	background: #fff;
	border: 1px solid #eef2f7;
	border-radius: 16px;
	box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06);
	padding: 2rem 4rem 3rem;
}

.hrml-project-panel__title {
	color: #233850;
	font-size: 1.17rem;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 1.55rem;
}

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

.hrml-staff-projects .dataTables_wrapper {
	color: #263954;
}

.hrml-staff-projects .dataTables_wrapper .row:first-child {
	align-items: center;
	margin-bottom: 1.5rem;
}

.hrml-staff-projects .dataTables_length label,
.hrml-staff-projects .dataTables_filter label {
	align-items: center;
	color: #111827;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 500;
	gap: 0.35rem;
	margin-bottom: 0;
}

.hrml-staff-projects .dataTables_length select.custom-select,
.hrml-staff-projects .dataTables_filter input.form-control {
	border: 1px solid #9a55ff !important;
	border-radius: 4px !important;
	box-shadow: none !important;
	color: #111827;
	font-size: 0.95rem;
	min-height: 38px;
}

.hrml-staff-projects .dataTables_length select.custom-select {
	padding: 0.35rem 1.9rem 0.35rem 0.65rem !important;
	width: 82px;
}

.hrml-staff-projects .dataTables_filter input.form-control {
	min-height: 54px;
	width: 250px !important;
}

.hrml-project-table {
	border-collapse: separate !important;
	border-spacing: 0 10px !important;
	color: #263954;
	margin: 0 !important;
	table-layout: fixed;
	width: 100% !important;
}

.hrml-project-table thead tr,
.hrml-project-table tfoot tr {
	background: #f3f6fb !important;
	color: #4c5d7b !important;
}

.hrml-project-table tfoot {
	display: none;
}

.hrml-project-table thead th,
.hrml-project-table tfoot th {
	border: 0 !important;
	font-size: 0.77rem !important;
	font-weight: 800 !important;
	letter-spacing: 0.02em;
	line-height: 1.15;
	padding: 1rem 1.4rem !important;
	text-transform: uppercase;
	vertical-align: middle;
}

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

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

.hrml-project-table thead th:nth-child(1),
.hrml-project-table tbody td:nth-child(1) {
	width: 6% !important;
}

.hrml-project-table thead th:nth-child(2),
.hrml-project-table tbody td:nth-child(2) {
	width: 18% !important;
}

.hrml-project-table thead th:nth-child(3),
.hrml-project-table tbody td:nth-child(3) {
	width: 12% !important;
}

.hrml-project-table thead th:nth-child(4),
.hrml-project-table tbody td:nth-child(4) {
	width: 25% !important;
}

.hrml-project-table thead th:nth-child(5),
.hrml-project-table tbody td:nth-child(5) {
	width: 17% !important;
}

.hrml-project-table thead th:nth-child(6),
.hrml-project-table tbody td:nth-child(6) {
	width: 12% !important;
}

.hrml-project-table thead th:nth-child(7),
.hrml-project-table tbody td:nth-child(7) {
	text-align: center;
	width: 10% !important;
}

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

.hrml-project-table tbody td {
	background: #fff !important;
	border-bottom: 1px solid #edf1f7 !important;
	border-top: 1px solid #edf1f7 !important;
	color: #263954;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.15;
	padding: 1.35rem 1.4rem !important;
	vertical-align: middle;
}

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

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

.hrml-project-table tbody td:nth-child(2) {
	font-weight: 800;
}

.hrml-project-table tbody td:nth-child(3) {
	color: #9aa0aa;
	font-weight: 800;
}

.hrml-project-member {
	align-items: center;
	background: #f8fafc;
	border-radius: 999px;
	color: #263954;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 800;
	gap: 0.35rem;
	line-height: 1;
	margin: 0 0.35rem 0.35rem 0;
	padding: 0.35rem 0.65rem;
	white-space: nowrap;
}

.hrml-project-member i {
	font-size: 0.7rem;
}

.hrml-staff-projects span.token-field-value-span {
	background: #f3f7fb !important;
	border: 1px solid #cbd6e3 !important;
	border-radius: 5px !important;
	color: #263954 !important;
	display: inline-flex !important;
	font-size: 0.86rem !important;
	font-weight: 800 !important;
	margin: 0 0.35rem 0.35rem 0 !important;
	padding: 0.45rem 0.75rem !important;
}

.hrml-project-status {
	align-items: center;
	background: #20d0b7;
	border-radius: 3px;
	color: #fff;
	display: inline-flex;
	font-size: 0.78rem;
	font-weight: 800;
	gap: 0.35rem;
	padding: 0.45rem 0.7rem;
}

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

.hrml-staff-projects a.designation-action-tools-a.project-view-a {
	align-items: center;
	background: #4f46e5 !important;
	border-radius: 12px;
	box-shadow: none;
	color: #fff;
	display: inline-flex;
	font-size: 0.9rem;
	height: 44px;
	justify-content: center;
	padding: 0 !important;
	width: 44px;
}

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

.hrml-staff-projects .dataTables_info {
	color: #111827 !important;
	font-size: 1rem;
	padding-top: 1.15rem !important;
}

.hrml-staff-projects .dataTables_paginate {
	padding-top: 1rem !important;
}

.hrml-staff-projects .page-link {
	color: #64748b;
	font-size: 0.9rem;
	min-height: 43px;
	padding: 0.65rem 0.9rem;
}

.hrml-staff-projects .page-item.active .page-link {
	background: #9a55ff !important;
	border-color: #9a55ff !important;
	color: #fff !important;
	box-shadow: 0 8px 15px rgba(154, 85, 255, 0.25);
}

.hrml-project-footer {
	align-items: center;
	border-top: 1px solid #edf1f7;
	color: #8d98a7;
	display: flex;
	font-size: 0.88rem;
	font-style: italic;
	justify-content: space-between;
	margin-top: 1rem;
	padding: 1.55rem 0 0;
}

.hrml-project-footer p {
	margin: 0;
}

.hrml-project-footer a {
	color: #0073ff;
	text-decoration: none;
}

.hrml-project-footer span {
	font-style: normal;
}

/* Task registry modal */
.hrml-staff-projects #ViewProjects,
.hrml-staff-projects #AddTasks {
	background: rgba(255, 255, 255, 0.04);
	overflow-y: auto !important;
}

.hrml-staff-projects #ViewProjects .hrml-task-registry-dialog {
	max-width: 960px !important;
	margin: 4.7rem 1.25rem 1.75rem auto !important;
}

.hrml-task-registry {
	border: 0;
	border-radius: 16px;
	box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
	overflow: hidden;
}

.hrml-task-registry__header {
	align-items: center;
	background: #4f46e5;
	color: #fff;
	display: flex;
	gap: 1.25rem;
	min-height: 118px;
	padding: 1.55rem 2rem;
	position: relative;
}

.hrml-task-registry__title-wrap {
	align-items: center;
	display: flex;
	flex: 1;
	gap: 1.1rem;
	min-width: 0;
}

.hrml-task-registry__icon {
	align-items: center;
	border: 2px solid rgba(255, 255, 255, 0.95);
	border-radius: 50%;
	display: inline-flex;
	flex: 0 0 30px;
	font-size: 1.15rem;
	height: 30px;
	justify-content: center;
	width: 30px;
}

.hrml-task-registry__title {
	color: #fff;
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 0.45rem;
}

.hrml-task-registry__subtitle {
	color: rgba(255, 255, 255, 0.76);
	font-size: 0.88rem;
	line-height: 1.4;
	margin: 0;
}

.hrml-task-registry__add {
	align-items: center;
	background: #fff !important;
	border: 0 !important;
	border-radius: 12px !important;
	box-shadow: none !important;
	color: #9a55ff !important;
	display: inline-flex;
	font-size: 0.95rem !important;
	font-weight: 800 !important;
	gap: 0.55rem;
	justify-content: center;
	min-height: 42px;
	min-width: 145px;
	padding: 0.65rem 1.25rem !important;
	white-space: nowrap;
}

.hrml-task-registry__close {
	background: transparent;
	border: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 1.15rem;
	line-height: 1;
	padding: 0;
}

.hrml-task-registry__body {
	background: #fff;
	padding: 2.5rem 3rem 2.95rem;
}

.hrml-task-registry .project-task-ul {
	margin: 0;
	padding: 0;
}

.hrml-task-registry .project-task-li {
	align-items: center;
	background: #fff;
	border: 1px dashed #d5b4ff;
	border-radius: 0;
	box-shadow: 0 7px 14px rgba(154, 85, 255, 0.18);
	color: #263954;
	display: flex;
	font-size: 0.85rem;
	gap: 0.75rem;
	list-style: none;
	margin: 0 0 0.65rem;
	min-height: 55px;
	padding: 0.7rem 1rem;
}

.hrml-task-registry .project-task-li::before {
	color: #6b7280;
	content: "\f058";
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
}

.hrml-task-registry .project-task-li .task__options {
	margin-left: auto;
}

.hrml-task-registry .project-task-li span.badge,
.hrml-task-registry .project-task-li .task-priority,
.hrml-task-registry .project-task-li .task-assign,
.hrml-task-registry .project-task-li .task-duedate {
	border: 0;
	border-radius: 999px;
	box-shadow: 0 5px 12px rgba(15, 23, 42, 0.12);
	font-size: 0.78rem;
	font-weight: 800;
	padding: 0.38rem 0.72rem;
}

.hrml-task-registry .project-task-li span.badge.task-priority.Low,
.hrml-task-registry .project-task-li span.badge.task-priority.Medium,
.hrml-task-registry .project-task-li span.badge.task-priority.High {
	background: #06c4d8 !important;
	color: #fff;
}

.hrml-task-registry .project-task-li span.badge.task-assign {
	background: #d1d5db !important;
	color: #fff;
}

.hrml-task-registry .project-task-li span.badge.task-duedate {
	background: #fff !important;
	color: #0096f6;
}

.hrml-task-registry .project-task-li a.task__edit-btn,
.hrml-task-registry .project-task-li a.task__delete-btn {
	color: #5f6368 !important;
	font-size: 0.95rem;
}

/* Add task modal */
.hrml-staff-projects #AddTasks .hrml-add-task-dialog {
	max-width: 672px !important;
	margin: 4.7rem auto 1.75rem !important;
}

.hrml-add-task-modal {
	background: #ffffff;
	border: 0;
	border-radius: 16px;
	box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
	max-height: calc(100vh - 3rem);
	overflow: hidden;
}

.hrml-add-task-modal__header {
	align-items: flex-start;
	background: #4f46e5;
	color: #fff;
	display: flex;
	gap: 1.2rem;
	min-height: 108px;
	padding: 1.45rem 2rem;
	position: relative;
}

.hrml-add-task-modal__icon {
	align-items: center;
	color: #fff;
	display: inline-flex;
	flex: 0 0 32px;
	font-size: 1.5rem;
	justify-content: center;
	margin-top: 0.25rem;
	width: 32px;
}

.hrml-add-task-modal__title {
	color: #fff;
	font-size: 1.22rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 0.45rem;
}

.hrml-add-task-modal__subtitle {
	color: rgba(255, 255, 255, 0.8);
	font-size: 0.88rem;
	line-height: 1.45;
	margin: 0;
	max-width: 420px;
}

.hrml-add-task-modal__close {
	background: transparent;
	border: 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 1.15rem;
	line-height: 1;
	margin-left: auto;
	padding: 0.25rem 0;
}

.hrml-add-task-form {
	max-height: calc(100vh - 11.5rem);
	overflow-y: auto;
	padding: 1.8rem 1.9rem 1.9rem;
}

.hrml-add-task-form__field {
	margin-bottom: 1.15rem;
}

.hrml-add-task-form__field label {
	color: #33415c;
	display: block;
	font-size: 0.92rem;
	font-weight: 800;
	margin-bottom: 0.5rem;
}

.hrml-add-task-form__field label span {
	color: #ff6b8a;
}

.hrml-add-task-form .form-control,
.hrml-add-task-form select.form-control {
	background: #f8fbff;
	border: 1px solid #dce3ec;
	border-radius: 11px;
	box-shadow: none;
	color: #10233d;
	font-size: 0.92rem;
	min-height: 47px;
	padding: 0.65rem 1rem;
}

.hrml-add-task-form select#task_members {
	appearance: auto;
	height: 47px !important;
	min-height: 47px;
	overflow: visible;
	padding-right: 2rem;
}

.hrml-add-task-form textarea.form-control {
	border-radius: 0;
	min-height: 176px;
	resize: vertical;
}

.hrml-add-task-form__grid {
	display: grid;
	gap: 0 3rem;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.hrml-add-task-form__actions {
	display: flex;
	gap: 0.9rem;
	justify-content: flex-end;
	margin-top: 1.4rem;
}

.hrml-add-task-form__cancel,
.hrml-add-task-form__submit {
	border: 0 !important;
	border-radius: 11px !important;
	box-shadow: 0 8px 16px rgba(154, 85, 255, 0.2) !important;
	font-size: 0.92rem !important;
	font-weight: 800 !important;
	min-height: 50px;
	min-width: 118px;
	padding: 0.75rem 1.4rem !important;
}

.hrml-add-task-form__cancel {
	background: #f8f4fa !important;
	color: #d8d1d9 !important;
}

.hrml-add-task-form__submit {
	background: #18cbb5 !important;
	color: #fff !important;
}

@media (max-width: 1199px) {
	.hrml-project-shell {
		padding: 3rem 2rem 0;
	}

	.hrml-project-hero,
	.hrml-project-panel {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

@media (max-width: 767px) {
	.hrml-staff-projects .content-wrapper {
		padding: 1rem;
	}

	.hrml-project-shell {
		border-radius: 16px;
		min-height: auto;
		padding: 1.25rem;
	}

	.hrml-project-hero {
		align-items: flex-start;
		flex-direction: column;
		padding: 1.25rem;
	}

	.hrml-project-panel {
		padding: 1.25rem;
	}

	.hrml-staff-projects .dataTables_filter {
		margin-top: 1rem;
		text-align: left;
	}

	.hrml-staff-projects .dataTables_filter input.form-control {
		width: 100% !important;
	}

	.hrml-project-footer {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.75rem;
	}

	.hrml-staff-projects #ViewProjects .hrml-task-registry-dialog,
	.hrml-staff-projects #AddTasks .hrml-add-task-dialog {
		margin: 1rem !important;
		max-width: calc(100% - 2rem) !important;
	}

	.hrml-task-registry__header,
	.hrml-add-task-modal__header {
		align-items: flex-start;
		flex-direction: column;
	}

	.hrml-task-registry__add {
		width: 100%;
	}

	.hrml-add-task-form__grid {
		grid-template-columns: 1fr;
	}

	.hrml-add-task-form__actions {
		flex-direction: column;
	}
}
