.app-table-section {
	gap: 25px;
	min-width: 100%;
	width: fit-content;
	/* overflow-x: auto; */
}

.app-table-section.has-navigation,
.app-table-section.has-top-navigation {
	gap: 0;
}

.app-table-section.has-top-navigation {
	flex-direction: column-reverse !important;
}

.app-table-title {
	margin: 0;
	color: #858588;
	font-family: IRANSans;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 16px;
	text-align: initial;
}

.app-table {
	border-radius: 15px;
	background: #FAFAFA;
	/*padding: 0 40px 40px 40px;*/
	border: 1px solid #828ECE;
	/*display: table;*/
	/*max-height: 340px;*/
	/*overflow: auto;*/
}

.app-table.secondary-items {
	padding: 2px 16px 12px;
}

.app-table.secondary-border {
	border: 1px solid #FAFAFA;
}


.app-table.scrolled-content {
	overflow-y: scroll;
	max-height: 52vh;
}

.app-table.scrolled-content::-webkit-scrollbar-thumb {
	background: rgba(173, 178, 201, 0.51) !important;
}

.app-table-section.secondary .app-table {
	border-radius: 7px;
	border: 1px solid #B2C6E3;
}

.app-table:has(+.app-table-bottom-navigation) {
	border-bottom: unset !important;
	border-bottom-left-radius: unset !important;
	border-bottom-right-radius: unset !important;
}

.app-table-section.has-top-navigation .app-table:has(+.app-table-bottom-navigation) {
	border-bottom: 1px solid #828ECE !important;
	border-top: unset !important;
	border-bottom-left-radius: 7px !important;
	border-bottom-right-radius: 7px !important;
	border-top-left-radius: unset !important;
	border-top-right-radius: unset !important;

}

.app-table.secondary-rows .app-table-row {
	padding: 0 10px;
	min-height: 50px;
}


.app-table-head,
.app-table-body {
	width: 100%;
}

.app-table-col {
	margin: 0;
	flex: 1;
	text-align: center;
}

.app-table-col:first-child {
	max-width: 44px;
}

.app-table .app-table-head .app-table-row .app-table-col {
	color: #858588;
	font-family: IRANSans;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
}

.app-table .app-table-head .app-table-row {
	padding-bottom: 10px;
}

.app-table.small-counter .app-table-col:first-child {
	max-width: 50px;
}

.app-table .app-table-head .app-table-row .app-table-col.text-start {
	text-align: start;
}

.app-table .app-table-body .app-table-row .app-table-col {
	color: #424242;
	font-family: IRANSans;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
}

.app-table .app-table-body {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.app-table.secondary-items .app-table-body {
	gap: 0;
}


.app-table .app-table-body .app-table-row {
	border-radius: 4px;
	border: 1px solid #F3F0F0;
	background: #FFF;
}

.app-table.secondary-items .app-table-body .app-table-row {
	margin-top: -1px;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	min-height: 42px;
}

.app-table.secondary-items .app-table-body .app-table-row:not(.has-toggle-content) {
	max-height: 42px;
}

.app-table.secondary-items .app-table-body .app-table-row.has-toggle-content,
.app-table.app-table-body .app-table-row.has-toggle-content {
	flex-direction: column;
	row-gap: 3px;
	min-height: fit-content;
}

.app-table-row-toggle {
	padding-bottom: 16px;
	display: none;
	flex-direction: column;
	row-gap: 0;
	width: 100%;
	animation: fadeIn 0.4s ease-in-out !important;
}

.app-table-row-toggle.show {
	display: flex;
}

.app-table-row-main {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
	min-height: 42px;
}

.app-table-row {
	width: 100%;
	padding: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 5px;
}

.app-table-row {
	padding-right: 10px !important;
	padding-left: 10px !important;
}

[dir=rtl] .app-table-row {
	/* padding-left: 10px !important; */
	/* padding-right: unset !important; */
}

/* navigation --> */
.app-table-bottom-navigation {
	--min-height: 66px;
	width: 100%;
	min-height: var(--min-height);
	border-radius: 0px 0px 15px 15px;
	outline: 1px solid #828ECE;
	background: #FFF;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	outline-offset: -1px;
}

.app-table-section.has-top-navigation .app-table-bottom-navigation {
	border-radius: 7px 7px 0px 0px;
}

.app-table-bottom-navigation.secondary {
	--min-height: 52px;
}

.app-table-bottom-navigation.third {
	--min-height: 43px;
}

.app-table-bottom-navigation.no-padding-items .app-table-navigation-filter {
	padding: 0 5px !important;
}

.app-table-section.secondary .app-table-bottom-navigation {
	border-radius: 0px 0px 7px 7px;
}

.app-table-section.has-top-navigation.secondary .app-table-bottom-navigation {
	border-radius: 7px 7px 0px 0px;
}

.app-table-navigation-filter {
	border-right: 1px solid #7B86CB;
	border-top: 1px solid #7B86CB;
	min-height: inherit;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px !important;
}

.app-table-section.has-top-navigation .app-table-navigation-filter {
	border-top: 0;
	border-bottom: 1px solid #7B86CB;
}

.app-table-section.secondary .app-table-navigation-filter {
	border-right: 1px solid rgba(178, 198, 227, 0.28);
}

body[dir=rtl] .app-table-navigation-filter {
	border-left: 1px solid #7B86CB;
	border-right: unset;
}

body[dir=rtl] .app-table-section.secondary .app-table-navigation-filter {
	border-left: 1px solid rgba(178, 198, 227, 0.28);
	border-right: unset;
}

.app-table-navigation-action {
	border-radius: 0px 0px 15px 0;
	background: #7B86CB;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	cursor: pointer;
	min-height: inherit;
}

.app-table-navigation-action.enable {
	background: #4e5cb6;
}

.app-table-section.secondary .app-table-navigation-action {
	border-radius: 0px 0px 7px 0;
}

body[dir=rtl] .app-table-navigation-action {
	border-radius: 0px 0px 0px 15px;
}

body[dir=rtl] .app-table-section.secondary .app-table-navigation-action {
	border-radius: 0px 0px 0 7px;
}

.app-table-navigation-filter.has-border-radius {
	border-top-right-radius: 15px;
}

body[dir=rtl] .app-table-navigation-filter.has-border-radius {
	border-top-right-radius: unset;
	border-top-left-radius: 7px;
}

.app-table-section.secondary .app-table-navigation-filter.has-border-radius {
	border-top-right-radius: 7px;
}

body[dir=rtl] .app-table-section.secondary .app-table-navigation-filter.has-border-radius {
	border-top-right-radius: unset;
	border-top-left-radius: 7px;
}


/*  */
.app-table-section.has-top-navigation .app-table-navigation-action {
	border-radius: 0px 15px 0px 0;
	box-shadow: unset;
}

body[dir=rtl] .app-table-section.has-top-navigation .app-table-navigation-action {
	border-radius: 15px 0px 0px 0;
}

.app-table-section.has-top-navigation .app-table-navigation-action.secondary {
	border-radius: 0px 7px 0px 0;
}

body[dir=rtl] .app-table-section.has-top-navigation .app-table-navigation-action.secondary {
	border-radius: 7px 0px 0px 0;
}

body[dir=rtl] .app-table-section .app-table-navigation-action.no-border-radius {
	border-radius: 0 !important;
}

.app-table-navigation-action-text {
	color: #FFF;
	text-align: center;
	font-family: IRANSans;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 16px;
}

/*  */
.app-table-action {
	transition: all .2s ease-in-out;
	cursor: pointer;
}

.app-table-action:hover {
	transform: scale(1.2);
}

.app-table-bottom-navigation-row {
	min-height: var(--min-height);
}

.app-table-body.has-side-padding {
	padding-right: 9px !important;
}

body[dir=rtl] .app-table-body.has-side-padding {
	padding: unset !important;
	/*padding-left: 9px !important;*/
}

@media (max-width: 768px) {

	.app-table.secondary-items .app-table-body .app-table-row {
		max-height: unset !important;
		margin: 5px 0;
	}

	.app-table-title {
		font-size: 13px;
	}

	.app-table-head {
		display: none;
	}

	.app-table {
		padding: 14px;
	}

	.app-table-row {
		flex-direction: column;
		padding: 0 !important;
		gap: 0;
		padding-right: 0 !important;
		padding-left: 0 !important;
	}

	.app-table-row-main {
		flex-direction: column;
	}

	body[dir=rtl] .app-table-row {
		padding-right: 0 !important;
		padding-left: 0 !important;
	}


	.app-table-col {
		width: 100%;
		text-align: end !important;
		border-bottom: 1px solid #F3F0F0;
		padding: 9px 18px;
	}

	.app-table-col:last-child {
		border-bottom: unset;
		padding-bottom: 9px;
	}

	tbody tr:not(.child-row) 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;
	}

	.app-table.small-counter .app-table-col:first-child {
		max-width: unset;
	}

	body[dir=rtl] .app-table-col::before {
		float: right !important;
	}

	body[dir=rtl] .app-table-col {
		text-align: left;
	}

	.app-table-bottom-navigation {
		min-height: 50px;
	}

}

@media (max-width: 992px) {

	.app-table-navigation-filter.has-border-radius,
	body[dir=rtl] .app-table-navigation-filter.has-border-radius,
	.app-table-section.secondary .app-table-navigation-filter.has-border-radius,
	body[dir=rtl] .app-table-section.secondary .app-table-navigation-filter.has-border-radius {
		border-top-right-radius: 0;
		border-top-left-radius: 0;
	}


}

@media (max-width: 992px) {

	.app-table-section.has-top-navigation .app-table-navigation-filter:first-child:not(#admission-service-event *) {
		border-radius: 15px 15px 0 0;
	}

	.app-table-section.has-top-navigation.secondary .app-table-navigation-filter:first-child {
		border-radius: 7px 7px 0 0 !important;
	}

}

@media (max-width: 768px) {
	.app-table-section.has-top-navigation .app-table-navigation-action,
	body[dir=rtl] .app-table-section.has-top-navigation .app-table-navigation-action,
	.app-table-section.has-top-navigation .app-table-navigation-action.secondary,
	body[dir=rtl] .app-table-section.has-top-navigation .app-table-navigation-action.secondary {
		border-radius: 0 !important;
	}
}

.app-table-body.services-modal-body {
	max-height: calc(100vh - 344px);
	overflow-y: auto;
	min-height: calc(100vh - 344px);
}

.admission-management-calender .app-table-body.services-modal-body {
	max-height: calc(40px);
	overflow-y: hidden;
	min-height: calc(40px);
}


/* labeled table */

.labled-table-container {
	width: 80%;
	margin: 2rem auto;
	border-radius: 8px;
	border: 2px solid #5084d0;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	font-family: IRANSans;
}

.labled-table-container .labled-table-lable {
	background-color: #5084d0;
	color: #fff;
	padding: 1rem;
	font-size: 1.2rem;
	text-align: center;
	border-bottom: 1px solid #ccc;
	font-family: IRANSans;
}

.labled-table-wrapper {
	max-height: 400px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #ccc #f1f1f1;
}

.labled-table-container table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
}

.labled-table-container thead {
	background-color: #f3f6fa;
	color: #8c8c8c;
}

.labled-table-container thead th {
	position: sticky;
	top: 0;
	z-index: 4222;
	background-color: #f3f6fa;
}

.labled-table-container thead tr:last-of-type th {
	border-bottom: 2px solid #5084d0;
}

.labled-table-container tbody {
	color: #424242;
}

.labled-table-container th,
.labled-table-container td {
	padding: 0.75rem;
	border-bottom: 1px solid #ccc;
	text-align: right;
	vertical-align: middle;
	font-size: 0.95rem;
	border-inline-end: 2px solid #5084d0;
}

.labled-table-container tr th:last-of-type,
.labled-table-container tr td:last-of-type {
	border-inline-end: none;
}

.labled-table-container tr:last-child td {
	border-bottom: none;
}
