/* * SECTION */
.secondary-table-section {
	border-radius: 7px;
	background: #f4f6fb;
	padding: 23px 16px 14px 16px;
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
	gap: 3px;
}

.secondary-table-section .dataTables_processing.panel.panel-default:has(> .app-global-loading-section) {
	box-shadow: unset !important;
	/* position: unset !important; */
	background-color: unset !important;
	width: 100% !important;
	background: unset !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	top: 0;
	left: 0;
}

.secondary-table-section table.table.secondary-table {
	max-width: 100% !important;
	border-collapse: separate;
	border-spacing: 0;
}

.secondary-table-section.no-bg {
	background: unset;
}

.secondary-table-section.transparent-bg {
	background: transparent;
}

/* * re-style */
.secondary-table.table tr {
	/* display: flex !important; */
	justify-content: center;
}

.secondary-table.table thead:first-child th {
	border: none !important;
	color: #858588;
	text-align: start;
	font-family: var(--font-family-main);
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	/*line-height: 16px;*/
	background: transparent;
	/* display: flex; */
	align-items: center;
	justify-content: flex-start;
	flex: 1;
	padding: 5px 5px 12px 10px;
	/*width: auto !important;*/
}

table.secondary-table.dataTable thead .sorting:after,
table.secondary-table.dataTable thead .sorting_asc:after,
table.secondary-table.dataTable thead .sorting_desc:after {
	color: #8c8c8c !important;
	/* position: unset; */
	/* margin: 0 10px; */
	top: 46%;
	right: 0;
	transform: scale(1.2) translateY(-50%);
}

.table.secondary-table td:not(:first-child) {
	min-height: 38px;
	height: 38px;
}

.table.secondary-table.secondary-size td:not(:first-child) {
	min-height: 70px;
	height: 70px;
}

.secondary-table.table tbody tr:first-child td:not(.child-table td):first-child {
	border-start-start-radius: 7px;
}

.secondary-table.table tbody tr:first-child td:not(.child-table td):last-child {
	border-start-end-radius: 7px;
}

.secondary-table.table:not(.not-counter-filed) tbody tr td:first-child:not(.nested-table-footer td, .child-table.not-counter-filed td) {
	border-right: 1px solid var(--border-color-table);
	border-left: 1px solid var(--border-color-table);
	text-align: center;
}

.secondary-table.table:is(.not-counter-filed) tbody tr td:first-child {
	border-left: 1px solid var(--border-color-table);
}

body[dir="rtl"] .secondary-table.table:is(.not-counter-filed) tbody tr td:first-child {
	border-left: unset;
	border-right: 1px solid var(--border-color-table);
}

.secondary-table.table:not(.not-counter-filed) tbody tr td:first-child,
.secondary-table.table:not(.not-counter-filed) thead tr th:first-child {
	max-width: 50px;
	width: 50px;
	justify-content: center;
}

.secondary-table.table .child-table.not-counter-filed tbody tr td:first-child,
.secondary-table.table .child-table.not-counter-filed thead tr th:first-child,
.secondary-table.table .grandchild-table.not-counter-filed tbody tr td:first-child,
.secondary-table.table .grandchild-table.not-counter-filed thead tr th:first-child {
	max-width: unset;
	width: auto;
}

.secondary-table.table:not(.not-counter-filed) thead tr th:first-child {
	text-align: center !important;
	padding-left: 18px;
}

/*.secondary-table.table:not(.no-actions) thead tr th:first-child::after,*/
/*.secondary-table.table:not(.no-actions) thead tr th:last-child::after {*/
/*    content: "";*/
/*}*/

.secondary-table.table tbody tr td:nth-child(2) {
	padding-left: 15px;
}

.secondary-table.table tbody tr td {
	color: #424242;
	/*font-family: IRANSans;*/
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	/* 114.286% */
	flex: 1;
	vertical-align: top;
}

/*.secondary-table.table tbody tr:first-child td:last-child {*/
/*	border-top-right-radius: 7px;*/
/*}*/

.secondary-table.table tbody tr td:last-child {
	border-inline-end: 1px solid var(--border-color-table);
}

.secondary-table.table:not(table:has(tfoot)) tbody tr:last-of-type > td:first-child {
	border-end-start-radius: 7px;
}

.secondary-table.table:not(table:has(tfoot)) tbody tr:last-of-type > td:last-child {
	border-end-end-radius: 7px;
}

.secondary-table.table tr:not(.child-row, .nested-table-footer, .shown):hover td {
	/*border-left-color: #fafafa !important;*/
	/*border-right-color: #fafafa !important;*/
	background: #fafafa !important;
}

/*.secondary-table.table tbody tr:hover td:first-child {*/
/*	border-inline-start-color: var(--border-color-table) !important;*/
/*}*/

/*body[dir="rtl"] .secondary-table.table tbody tr:hover td:first-child {*/
/*	border-right-color: var(--border-color-table) !important;*/
/*	border-left-color: #fafafa !important;*/
/*}*/

.secondary-table-section.secondary-borders .secondary-table.table tbody td:first-child {
	z-index: 2;
	margin-right: -1px;
	border-left-color: #36459b !important;
	border-right-color: rgba(188, 195, 237, 0.35) !important;
}

body[dir="rtl"] .secondary-table-section.secondary-borders .secondary-table.table tbody td:first-child {
	margin-right: unset;
	margin-left: -1px;
	border-right-color: #36459b !important;
	border-left-color: rgba(188, 195, 237, 0.35) !important;
}

.secondary-table-section.secondary-borders .secondary-table.table tbody td:last-child {
	border-right-color: #36459b !important;
}

body[dir="rtl"] .secondary-table-section.secondary-borders .secondary-table.table tbody td:last-child {
	border-left-color: #36459b !important;
	border-right-color: #fafafa !important;
}

.secondary-table-section.secondary-borders .secondary-table.table tbody tr:last-child td {
	border-bottom-color: #36459b !important;
}

.secondary-table.table tbody tr:last-of-type > td {
	border-bottom: 1px solid var(--border-color-table);
}

.secondary-table.table td,
.secondary-table.table th,
.secondary-table.table-striped > tbody tr:nth-of-type(even) td {
	border-top: none;
	background: #fff;
}

.secondary-table.table th,
.secondary-table.table td {
	border-top: 1px solid var(--border-color-table) !important;
	/* display: flex !important; */
	align-items: center;
	justify-content: flex-start;
}

.secondary-table.table table.child-table tbody tr:not(:first-of-type) > td:not(.nested-table-footer td) {
	border-top: 1px dashed var(--border-color-table) !important;
}

.secondary-table-section.secondary-borders .secondary-table.table tbody tr:first-child td {
	border-top: 1px solid #36459b !important;
}

.dataTables_wrapper .row:first-child {
	display: none !important;
}

.dataTables_wrapper .row:last-child .dataTables_info,
.dataTables_wrapper .row:has(+ .dropdown, + .form-control) .dataTables_info {
	/*font-family: IRANSansX;*/
	font-size: 12px;
	color: #858588;
}

.dataTables_wrapper .row:last-child .col-sm-7,
.dataTables_wrapper .row:has(+ .dropdown, + .form-control) .col-sm-7 {
	flex: unset !important;
	max-width: unset !important;
	display: flex;
	align-items: center;
	justify-content: center;
}

.dataTables_empty {
	max-width: 80% !important;
	font-size: 12px !important;
}

.dataTables_wrapper .paginate_button a {
	border-radius: 4px;
	border: unset;
	color: #000;
	/*font-family: IRANSans;*/
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
	background: unset;
	min-width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 2px 4px !important;
}

.dataTables_wrapper .paginate_button.active a {
	color: #7b86cb;
	border: 1px solid #949eda;
	/* min-height: 29px; */
}

.dataTables_paginate ul.pagination {
	padding: 0;
}

.dataTables_wrapper .paginate_button a:hover {
	color: #7b86cb;
}

.dataTables_wrapper .paginate_button.previous a,
.dataTables_wrapper .paginate_button.next a {
	display: none;
}

.dataTables_wrapper .paginate_button.previous,
.dataTables_wrapper .paginate_button.next {
	position: relative;
}

.dataTables_wrapper .paginate_button.previous::after,
.dataTables_wrapper .paginate_button.next::after {
	width: 30px;
	height: 30px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.dataTables_wrapper .paginate_button.previous:hover::after,
.dataTables_wrapper .paginate_button.next:hover::after {
	transform: scale(1.2);
}

.dataTables_wrapper .paginate_button.previous,
.dataTables_wrapper .paginate_button.next {
	transition: all 0.2s ease;
}

.dataTables_wrapper .paginate_button.previous::after {
	content: url(./../../../images/svg/arrow-left-pagination.svg);
}

.dataTables_wrapper .paginate_button.next::after {
	content: url(./../../../images/svg/arrow-right-pagination.svg);
}

body[dir="rtl"] .dataTables_wrapper .paginate_button.previous::after {
	content: url(./../../../images/svg/arrow-right-pagination.svg);
}

body[dir="rtl"] .dataTables_wrapper .paginate_button.next::after {
	content: url(./../../../images/svg/arrow-left-pagination.svg);
}

.secondary-table-section .dropdown.bootstrap-select.form-control.input-sm {
	position: absolute !important;
	width: 76px !important;
	left: 2px;
	top: 4px;
	margin-top: -2px;
	margin-bottom: -20px;
	align-self: flex-end;
}

.secondary-table-section .dropdown.bootstrap-select.form-control.input-sm select:has(+ .btn) {
	display: none;
	pointer-events: none;
}

.secondary-table-section.header-sticky .form-control.input-sm:not(.dropdown) {
	left: 5px;
}

.secondary-table-section .form-control.input-sm:not(.dropdown) {
	width: 76px !important;
	align-self: flex-end;
	position: absolute;
	left: 2px;
	top: 4px;
	margin-top: -2;
	margin-bottom: -20px;
	height: 30px;
}

.secondary-table {
	max-width: 100% !important;
	overflow-x: auto;
}

.secondary-table-section .btn.dropdown-toggle.btn-select {
	padding: 0 7px;
	min-width: 30px;
	border: 1px solid var(--border-color-table) !important;
	outline: unset !important;
	min-height: 30px;
}

.secondary-table-section .btn.dropdown-toggle.btn-select:focus {
	outline: 0 !important;
	border: 1px solid var(--border-color-table) !important;
}

.secondary-table-section .btn.dropdown-toggle.btn-select + .dropdown-menu {
	left: -3px !important;
}

.secondary-table-section.show-count-70 .btn.dropdown-toggle.btn-select {
	min-width: 70px;
}

.secondary-table-section.show-count-60 .btn.dropdown-toggle.btn-select {
	min-width: 60px;
}

.secondary-table-section.show-count-50 .btn.dropdown-toggle.btn-select {
	min-width: 50px;
}

.secondary-table-section.show-count-80 .btn.dropdown-toggle.btn-select {
	min-width: 80px;
}

.secondary-table-section thead tr {
	position: relative;
}

.secondary-table-section .w-full {
	width: unset;
	min-width: 100% !important;
}

.secondary-table-section.header-sticky div.dataTables_wrapper {
	padding-top: 38px;
}

.secondary-table-section div.dataTables_wrapper {
	max-width: 100%;
	overflow-x: auto;
	overflow-y: visible;
	position: relative;
	/* margin-top: 30px; */
	/*min-height: 250px;*/
	padding-top: 15px;
}

.secondary-table-section.header-sticky div.dataTables_wrapper {
	overflow-y: scroll;
	display: block;
	height: 55vh;
	padding-right: 5px;
}

.secondary-table-section.header-sticky select + div.dataTables_wrapper {
	margin-right: 5px;
}

body[dir="rtl"] .secondary-table-section.header-sticky select + div.dataTables_wrapper {
	margin-right: unset;
	margin-left: 5px;
}

body[dir="rtl"] .secondary-table-section.header-sticky div.dataTables_wrapper {
	padding-right: unset;
	padding-left: 5px;
}

.secondary-table-section.header-sticky {
	padding-bottom: 24px;
}

.secondary-table-section.header-sticky table thead tr {
	position: sticky;
	top: -38px;
	background: #fff;
	box-shadow: 0px 1px 0 var(--border-color-table);
	z-index: 100;
}

.secondary-table-section.header-sticky .secondary-table.table thead:first-child th {
	padding-top: 12px;
}

.secondary-table-section .btn.dropdown-toggle.btn-select:focus {
	border: unset !important;
	outline: unset !important;
}

.secondary-table .filter-option-inner-inner {
	color: #8c8c8c;
	text-align: center;
	font-family: IRANSans;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
}

.secondary-table .dropdown.bootstrap-select.form-control.input-sm .dropdown-menu {
	width: 45px !important;
	margin-right: 0px;
}

.secondary-table.show-count-70 .dropdown.bootstrap-select.form-control.input-sm .dropdown-menu {
	width: 70px !important;
}

.secondary-table.show-count-60 .dropdown.bootstrap-select.form-control.input-sm .dropdown-menu {
	width: 60px !important;
}

.secondary-table.show-count-50 .dropdown.bootstrap-select.form-control.input-sm .dropdown-menu {
	width: 50px !important;
}

.secondary-table.show-count-80 .dropdown.bootstrap-select.form-control.input-sm .dropdown-menu {
	width: 80px !important;
}

.secondary-table .dropdown.bootstrap-select.form-control.input-sm .dropdown-item {
	display: flex;
	justify-content: center;
}

.secondary-table .dropdown.bootstrap-select.form-control.input-sm .inner {
	overflow-y: unset !important;
}

.secondary-table .dropdown-toggle:after {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

body[dir="rtl"] .secondary-table .dropdown-toggle:after {
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.secondary-table .dropdown-item.active.selected,
.secondary-table .dropdown-item:hover {
	background: #f4f9ff;
}

.secondary-table .dropdown-item.active.selected span,
.secondary-table .dropdown-item:hover span {
	color: #36459b;
}

.secondary-table .pagination {
	padding: 0;
}

.secondary-table-filters-section .material-checkbox {
	min-height: 40px !important;
}

/* * Search input */
.secondary-table-filters-section .app-select2-box .select2-container .select2-selection--single span.select2-selection__rendered {
	padding: 0 10px !important;
}

.secondary-table-filters-section {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	flex-direction: column;
	gap: 9px;
	font-size: 12px;
}

.secondary-table-filters-section.with-label .mui-field .app-second-input-box fieldset,
.secondary-table-filters-section.with-label .mui-field .app-select2-box fieldset,
.secondary-table-filters-section.with-label .mui-field .app-select2-box fieldset:focus-within,
.secondary-table-filters-section.with-label .mui-field .app-second-input-box fieldset:focus-within {
	border: none !important;
}

.secondary-table-filters-section.with-label .mui-field .app-select2-box legend,
.secondary-table-filters-section.with-label .mui-field .app-second-input-box legend {
	color: #8b93be !important;
}

.secondary-table-filters-section.with-label .app-select2-box,
.secondary-table-filters-section.with-label .mui-field {
	width: 100% !important;
	margin: 0 !important;
}

.secondary-table-filters-section.with-label .secondary-table-filter-item .app-second-input-section {
	height: 47px;
}

.secondary-table-filters-save {
	flex-wrap: wrap;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	gap: 15px;
	padding-bottom: 10px;
}

/* Keep the catalog save-filter icon centered at the original SVG size. */
.filter-save-icon {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
}

/* Keep the existing icon geometry while exposing keyboard focus like catalog buttons. */
.filter-save-icon:focus-visible,
.secondary-table-filters-save .modal-close-action:focus-visible {
	outline: 2px solid var(--bioarc-navbar-blue, var(--input-border-color-focus, var(--color-primary, #36459b)));
	outline-offset: 2px;
}

.badge-clear-filter {
	background-color: #fbfcfd;
	color: #36459b;
	font-size: 12px;
	font-weight: 400;
	display: flex;
	gap: 20px;
	justify-content: space-between;
	padding: 5px 14px;
	border-radius: 25px;
	cursor: pointer;
	transition: all 0.25s;
}

.badge-clear-filter i {
	font-size: 12px;
	margin-top: 2px;
}

.badge-clear-filter:hover {
	box-shadow: 0px 0px 10px 0px rgba(226, 236, 249, 0.76);
}

.secondary-table-filters-save .app-second-input-section {
	min-width: 150px;
}

/*.secondary-table-filters-save .app-select2-box .select2-container .select2-selection--single {*/
/*	min-height: 30px;*/
/*	height: 30px;*/
/*	background-color: #fff;*/
/*}*/

.secondary-table-filters-save .select2-selection__arrow::after {
	top: 13px;
}

/* Match the catalog's normal mobile buttons without shrinking desktop toolbar controls. */
@media (max-width: 576px) {
	.secondary-table-filters-save .app-select2-box .select2-selection--single {
		height: 36px;
		min-height: 36px;
	}

	.secondary-table-filters-save .select2-selection__arrow::after {
		top: 11px;
	}
}

.secondary-table-search {
	width: 100%;
	align-items: center;
	justify-content: space-between;
	display: flex;
	width: 100%;
	min-height: 50px;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0px 0px 10px 0px rgba(226, 236, 249, 0.76);
	padding: 0 18px !important;
}

.secondary-table-search.secondary-table-filter-item {
	box-shadow: unset !important;
	min-height: 40px;
	border-radius: 7px 0 0 7px;
}

body[dir="rtl"] .secondary-table-search.secondary-table-filter-item {
	border-radius: 0 7px 7px 0;
}

/* .secondary-table-search:has(>.secondary-table-search-clear) {
    padding-right: 20px !important;
}

body[dir=rtl] .secondary-table-search:has(>.secondary-table-search-clear) {
    padding-left: 20px !important;
    padding-right: unset !important;
} */

.secondary-table-search-input {
	outline: none;
	border: none;
	color: #424242;
	font-family: IRANSans;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	min-height: inherit;
	box-shadow: unset !important;
	width: 100%;
	background: transparent;
}

body[dir="ltr"] .secondary-table-search-input {
	font-family: Roboto !important;
}

.secondary-table-search-clear {
	width: 28px;
	height: 28px;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
	background: #f4f6fb;
	border-radius: 50%;
}

.secondary-table-search-clear svg,
.secondary-table-search-clear .bio-icon-outline-close,
.secondary-table-search-clear {
	transition: all 0.2s ease-in-out;
}

.secondary-table-search-clear:hover svg,
.secondary-table-search-clear:hover .bio-icon-outline-close {
	transform: scale(1.2);
}

.secondary-table-search-clear.show {
	display: flex;
}

.secondary-table-search-input::placeholder {
	color: var(--text-secondary-gray) !important;
	font-family: IRANSans;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
}

.secondary-table-search-input:focus {
	outline: none;
	border: none;
}

/* * FILTERs */
.secondary-table-filter {
	width: 100%;
	border-radius: 7px;
	background: #fff;
	box-shadow: 0px 0px 10px 0px rgba(226, 236, 249, 0.76);
	min-height: 40px;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.secondary-table-filter-action {
	border-radius: 0px 7px 7px 0px;
	background: #7b86cb;
	cursor: pointer;
	color: #fff;
	text-align: center;
	font-family: IRANSans;
	font-size: 14px;
	font-style: normal;
	font-weight: 500;
	line-height: 20px;
	letter-spacing: 0.1px;
	padding: 0 6px;
	min-height: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
}

.secondary-table-filters-section.no-more-filter .secondary-table-more-filters {
	display: none !important;
}

.secondary-table-more-filters {
	padding: 11px 6px;
	color: #36459b;
	text-align: right;
	font-family: IRANSans;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
	min-height: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	border-radius: 0px 7px 7px 0px;
	box-shadow: unset !important;
	/*min-height: 50px;*/
}

.dataTables_wrapper {
	/* overflow: auto; */
}

.secondary-table-filter-item {
	padding: 0 10px;
	display: flex;
	align-items: center;
	justify-self: center;
	border-right: 1px solid rgba(178, 198, 227, 0.28);
	min-height: inherit;
}

.secondary-table-filter-item.no-border-side {
	border-right: unset;
}

body[dir="rtl"] .secondary-table-filter-item.no-border-side {
	border-left: unset;
}

.secondary-table-action {
	cursor: pointer;
	display: inline-block;
	/* transition: all .2s ease-in-out; */
}

.secondary-table-action i {
	font-size: 20px !important;
	color: var(--text-secondary);
}

.secondary-table-action a i,
.secondary-table-section tr td a i {
	color: var(--text-secondary);
}

.secondary-table-section tr td a:hover i .secondary-table-action a:hover i {
	color: var(--text-secondary);
}

.secondary-table-action:hover {
	transform: scale(1.1);
}

.secondary-table-action.unset-transform:hover {
	transform: unset;
}

.secondary-table-action[data-icon-type="fill"].active svg path {
	fill: #36459b;
}

.secondary-table-action[data-icon-type="stroke"].active svg path {
	stroke: #36459b;
}

.secondary-table-avatar {
	width: 32px;
	height: 32px;
}

.secondary-table-filter-item .app-second-input-section {
	min-height: 40px;
}

.secondary-table-search-input.no-shadow {
	box-shadow: unset;
}

.secondary-table-filter .more-filters {
	border-top: 1px solid rgba(178, 198, 227, 0.28);
	animation: moving 0.1s ease;
	display: none;
}

.more-filter-row:not(:only-child) {
	border-bottom: 1px solid rgba(178, 198, 227, 0.28);
}

.more-filter-row:not(:only-child):last-child {
	border-bottom: unset;
}

.secondary-table-filter .more-filters.show {
	display: flex;
}

.secondary-table-filter .more-filters .secondary-filter-item {
	border-right: 1px solid rgba(178, 198, 227, 0.28);
	min-height: 50px;
}

.secondary-table-filter .more-filters .secondary-filter-item:last-child {
	border-right: unset;
}

.secondary-table-text-action {
	color: #36459b;
	font-family: IRANSans;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
	cursor: pointer;
	min-width: 77px;
}

.secondary-table-showmore-action::before {
	content: "";
	width: 20px;
	height: 20px;
	background: url(./../../../images/svg/arrow-table-tooltip2.svg);
	position: absolute;
	left: 50%;
	bottom: -19px;
	display: none;
	animation: moving 0.1s ease;
}

.secondary-table-action-tooltip.show {
	display: flex;
}

.secondary-table-showmore-action.active::before {
	display: block;
}

.secondary-table-action-tooltip {
	z-index: 10;
	top: calc(100% + 8px);
	right: 12px;
	position: absolute;
	min-height: 64px;
	border-radius: 4px;
	background: #f4f9ff;
	display: none;
	align-items: center;
	justify-content: space-around;
	padding: 12px 20px;
	animation: moving 0.1s ease;
	flex-wrap: wrap;
	gap: 14px;
	border: 1px solid #7798d5;
}

.secondary-table-showmore-item {
	color: #000;
	font-family: IRANSans;
	font-size: 12px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
}

.secondary-table-rollback-item {
	text-decoration: none;
	color: #36459b;
	font-family: IRANSans-Medium;
	font-size: 12px;
	font-style: normal;
	font-weight: 500;
	line-height: 16px;
}

.secondary-table-section-title {
	color: #36459b;
	font-family: IRANSans-Bold;
	font-size: 16px;
	font-style: normal;
	font-weight: 500;
	line-height: 16px;
}

/*.secondary-table.table tbody tr.danger td {*/
/*	color: #873336 !important;*/
/*}*/

.secondary-table.table tbody tr.danger .secondary-table-action.stroke svg path {
	stroke: #873336 !important;
}

.secondary-table.table tr.danger td,
.secondary-table.table tr.danger th,
.secondary-table.table-striped > tbody tr:nth-of-type(even).danger td {
	background: #ffe7e8 !important;
}

.secondary-table.table tr.secondary td,
.secondary-table.table tr.secondary th,
.secondary-table.table-striped > tbody tr:nth-of-type(even).secondary td {
	background: #f2f4ff !important;
}

.secondary-table.table tr.warning td,
.secondary-table.table tr.warning th,
.secondary-table.table-striped > tbody tr:nth-of-type(even).warning td {
	background: var(--color-bg-warning) !important;
}

.secondary-table.table:has(+ .secondary-table-footer) tbody tr:last-child td:first-child,
.secondary-table.table:has(+ .secondary-table-footer) tbody tr:last-child td:last-child,
body[dir="rtl"] .secondary-table.table:has(+ .secondary-table-footer) tbody tr:last-child td:first-child,
body[dir="rtl"] .secondary-table.table:has(+ .secondary-table-footer) tbody tr:last-child td:last-child {
	border-radius: 0 !important;
}

.secondary-table-footer {
	min-height: 77px;
	border: 1px solid #36459b;
	border-top: 0 !important;
	border-radius: 0px 0px 6px 6px;
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
}

.secondary-table-footer-item {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.secondary-table-footer-item:not(:last-child) {
	border-right: 1px solid #36459b;
}

body[dir="rtl"] .secondary-table-footer-item:not(:last-child) {
	border-right: unset;
	border-left: 1px solid #36459b;
}

.secondary-table-footer-text {
	color: #36459b;
	font-family: IRANSans;
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
}

@media (max-width: 480px) {
	.secondary-table-filter-item:is(.remove-border-in-mobile),
	.secondary-table-filter .more-filters .secondary-filter-item:is(.remove-border-in-mobile) {
		border-right: unset;
		border-left: unset;
	}
}

@media (max-width: 576px) {
	.secondary-table-action {
		padding: 5px 6px;
	}

	.secondary-table-action:first-child {
		margin-left: -6px;
	}

	body[dir="rtl"] .secondary-table-action:first-child {
		margin-right: -6px;
		margin-left: unset;
	}
}

@media (max-width: 992px) {
	.secondary-table-section {
		border-radius: 0;
	}

	.secondary-table-filter-item:not(.remove-border-in-mobile),
	.secondary-table-filter .more-filters .secondary-filter-item:not(.remove-border-in-mobile) {
		border-right: unset;
	}

	.secondary-table-filter-item,
	.secondary-table-filter .more-filters .secondary-filter-item {
		border-bottom: 1px solid rgba(178, 198, 227, 0.28);
	}

	.secondary-table-filter-action,
	.secondary-table-more-filters {
		border-radius: 0px 0px 7px 7px;
	}

	.secondary-table-search.secondary-table-filter-item,
	body[dir="rtl"] .secondary-table-search.secondary-table-filter-item {
		border-radius: 7px 7px 0 0 !important;
	}

	.secondary-table-filter .more-filters .secondary-filter-item:last-child,
	.secondary-table-filters-section.no-more-filter .secondary-table-filter-item:last-child {
		border-bottom: unset;
	}

	.secondary-table-footer-item:not(:last-child) {
		border-right: unset;
		border-bottom: 1px solid #36459b;
	}

	body[dir="rtl"] .secondary-table-footer-item:not(:last-child) {
		border-right: unset;
		border-left: unset;
	}

	.secondary-table.table table.child-table tbody tr:not(:first-of-type) td:not(.nested-table-footer td):first-of-type {
		border-style: solid !important;
	}
}

.secondary-table.table tbody tr td.dataTables_empty {
	justify-content: center !important;
	text-align: center !important;
}

.secondary-table.table tbody tr td.dataTables_empty::before {
	display: none !important;
}

/* .secondary-table.not-counter-filed tbody tr td:first-child {
    max-width: unset;
} */

@media (max-width: 768px) {
	tr.has-form .app-second-input-box input {
		direction: ltr !important;
	}

	.secondary-table.table thead {
		display: none !important;
	}

	.secondary-table.table tbody tr {
		flex-direction: column;
		margin-top: 10px;
		display: flex;
	}

	.secondary-table-section.secondary-borders .secondary-table.table tbody tr td {
		border-color: #36459b !important;
		display: flex;
	}

	.secondary-table.table:not(.not-counter-filed) tbody tr td:first-child {
		max-width: unset !important;
		min-height: unset;
		width: unset;
		justify-content: space-between;
		/*border-top-left-radius: 7px !important;*/
		/*border-top-right-radius: 7px !important;*/
		min-height: 38px;
		height: 38px;
	}

	.secondary-table.table tbody tr td:first-child {
		border-start-start-radius: 7px !important;
		border-start-end-radius: 7px !important;
	}

	.secondary-table.table tbody tr td.d-none:first-child + td {
		border-start-start-radius: 7px !important;
		border-start-end-radius: 7px !important;
	}

	.secondary-table.table tbody tr td:last-child {
		border-end-start-radius: 7px !important;
		border-end-end-radius: 7px !important;
	}

	.secondary-table.table:has(+ .secondary-table-footer) tbody tr:last-child td:first-child,
	.secondary-table.table:has(+ .secondary-table-footer) tbody tr:last-child td:last-child,
	body[dir="rtl"] .secondary-table.table:has(+ .secondary-table-footer) tbody tr:last-child td:first-child,
	body[dir="rtl"] .secondary-table.table:has(+ .secondary-table-footer) tbody tr:last-child td:last-child {
		border-radius: initial !important;
	}

	.secondary-table.table tbody tr td {
		border: 1px solid var(--border-color-table);
		gap: 14px;
		border-radius: unset !important;
		margin-top: -1px;
		justify-content: space-between;
		display: flex;
	}

	.secondary-table.table tbody tr td:nth-child(2),
	.secondary-table.table tbody tr td {
		padding: 0 14px;
	}

	.secondary-table.table tbody tr td::before {
		float: left;
		/*content: attr(data-label);*/
		text-transform: uppercase;
		color: #858588;
		font-family: IRANSans;
		font-size: 14px;
		font-style: normal;
		font-weight: 400;
		line-height: 16px;
	}

	body[dir="rtl"] .secondary-table-section.secondary-borders .secondary-table.table tbody td:first-child,
	.secondary-table-section.secondary-borders .secondary-table.table tbody td:first-child,
	.secondary-table-section.secondary-borders .secondary-table.table tbody td:last-child,
	body[dir="rtl"] .secondary-table-section.secondary-borders .secondary-table.table tbody td:last-child {
		border-left: 1px solid #36459b !important;
		border-right: 1px solid #36459b !important;
		margin-left: unset !important;
		margin-right: unset !important;
	}

	/*
	body[dir="rtl"] .secondary-table.table tbody tr td:last-child,
	.secondary-table.table tbody tr td:last-child {
		border-right: 1px solid var(--border-color-table) !important;
		border-left: 1px solid var(--border-color-table) !important;
	} */
	/*  */
	.secondary-table-section.header-sticky div.dataTables_wrapper {
		overflow-y: unset;
		height: unset;
	}

	.secondary-table-section.header-sticky select + div.dataTables_wrapper {
		margin-right: unset;
	}

	body[dir="rtl"] .secondary-table-section.header-sticky select + div.dataTables_wrapper {
		margin-right: unset;
		margin-left: unset;
	}

	body[dir="rtl"] .secondary-table-section.header-sticky div.dataTables_wrapper {
		padding-right: unset;
		padding-left: unset;
	}

	.secondary-table-section.header-sticky {
		padding-bottom: unset;
	}

	.secondary-table-section.header-sticky table thead tr {
		position: unset;
		box-shadow: unset;
	}

	/* work flow table --> */
	.work_flow_table.secondary-table-section .secondary-table.table tbody tr td {
		width: 100% !important;
		min-height: 52px;
		padding: 0 14px !important;
		max-width: calc(100% - 28px);
		border: 1px solid var(--border-color-table) !important;
	}

	body[dir="rtl"] .secondary-table.table:is(.not-counter-filed) tbody tr td:first-child,
	.secondary-table.table:is(.not-counter-filed) tbody tr td:first-child {
		border-left: 1px solid var(--border-color-table);
		border-right: 1px solid var(--border-color-table);
	}

	/* .work_flow_table.secondary-table-section .secondary-table.table {} */
}

tr.has-form:not(.edit-mode) .app-second-input-box {
	border: 0 !important;
	outline: 0 !important;
}

tr.has-form:not(.edit-mode) .app-second-input-box input {
	pointer-events: none;
}

/* ----------------------------------------------- */

/* .app-fourth-table-section .secondary-table-section {
    padding: 0 !important;
    background: unset !important;
}

.app-fourth-table-section .secondary-table.table tbody tr td,
.app-fourth-table-section .secondary-table.table thead tr th {
    border: 1px solid #b2c6e3 !important;
    margin-left: -1px;
    margin-top: -1px;
}

.app-fourth-table-section .secondary-table.table thead th {
    background: #f4f6ff !important;
} */

.app-fourth-table-section .secondary-table-section {
	border: 1px solid #b2c6e3 !important;
	min-width: calc(100% + 1px);
}

.app-fourth-table-section .secondary-table-section:has(+ .app-fourth-table-footer) {
	border-bottom-left-radius: 0 !important;
	border-bottom-right-radius: 0 !important;
	border-bottom-color: #36459b !important;
}

.app-fourth-table-section .secondary-table-section + .app-fourth-table-footer {
	border-top-color: #36459b !important;
}

.app-fourth-table-section .secondary-table .dropdown.bootstrap-select.form-control.input-sm {
	display: none !important;
}

.app-fourth-table-section .avatar img,
.avatar img {
	min-width: 28px;
}

.secondary-table-section .bootstrap-select .dropdown-menu li a span.text {
	font-family: IRANSans !important;
}

/* detail model */

.app-fourth-table-section tbody th:has(> .app-popover) {
	position: relative;
}

.secondary-table-filter-item .select2-container .select2-selection--single span.select2-selection__rendered,
.secondary-table-filter-item .app-second-input,
.secondary-table-filter-item .material-checkbox .material-checkbox-text,
.secondary-table-filter-item .material-radio-text {
	font-size: 12px !important;
}

.secondary-table-filter-item .material-checkbox .material-checkbox-text {
	font-size: 13px !important;
}

.secondary-table-filter-item .checkbox-lable {
	color: #858588 !important;
}

.secondary-table-filter-item .table-filter-info-title {
	display: flex;
	align-items: center;
	font-size: 12px;
	color: #424242;
	font-weight: 500;
}

@media (max-width: 992px) {
	.secondary-table-section {
		padding-top: 12px;
	}
}

/*footer style*/

.tablefooter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

tfoot th {
	border: 1px solid var(--border-color-1);
}

tfoot th:first-of-type {
	border-start-start-radius: 7px;
	border-end-start-radius: 7px;
}

tfoot th:last-of-type {
	border-start-end-radius: 7px;
	border-end-end-radius: 7px;
}

/* Join the bulk-action footer to the table while retaining its outer bottom corners. */
body.V2 .secondary-table > tfoot > tr > th {
	border-start-start-radius: 0;
	border-start-end-radius: 0;
}

/* Override legacy table-label margins so body and footer checkbox centers share the same column. */
.secondary-table.compact-selection-table .material-checkbox {
	margin: 0 !important;
}

/* Keep selection controls centered in tall/wrapped rows without changing ordinary data cells. */
.secondary-table.compact-selection-table > tbody > tr > td:first-child {
	vertical-align: middle;
	text-align: center;
	align-items: center;
}

.secondary-table.compact-selection-table > tbody > tr > td:first-child > .material-checkbox-section {
	display: flex;
	align-items: center;
	justify-content: center;
}

tfoot.compact-table-footer th:first-child {
	border-inline-end: 0;
}

/* Preserve full-width mobile card rows while keeping the footer selector on the same outer edge. */
@media (max-width: 768px) {
	tfoot.compact-table-footer {
		display: block;
	}

	tfoot.compact-table-footer tr {
		display: flex;
		flex-direction: row-reverse;
		align-items: stretch;
	}

	tfoot.compact-table-footer th:first-child {
		padding: 8px 14px;
		align-content: center;
		border-inline-end: 1px solid var(--border-color-1);
	}

	tfoot.compact-table-footer th:last-child {
		flex: 1;
		min-width: 0;
	}
}

/*new style table*/
.border-table-primary table {
	border-collapse: collapse;
	border-radius: 4px;
	overflow: hidden;
	width: 100%;
}

.border-table-primary td,
.border-table-primary th {
	border: 1px solid #5084d0;
	text-align: center;
	vertical-align: middle;
}

.border-table-primary thead {
	background-color: #5084d0;
	color: #ffffff;
}
