@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

.no-transition * {
    animation-duration: 0s !important;
	-webkit-animation-duration: 0s !important;
    -webkit-transition: none !important;
    -moz-transition: none !important;
    -ms-transition: none !important;
    -o-transition: none !important;
    transition: none !important;
}

:root {
	--header-height: 4rem;
	--nav-width: 68px;
	--dark-color: #252b36;
	--theme-color: #38B2DB;
	--white-color: #f7f6fb;
	--body-font: "Inter", sans-serif;
	--normal-font-size: 1rem;
	--sm-font-size: 0.875rem;
	--lg-font-size: 1.25rem;
	--z-fixed: 100;
}

[data-bs-theme=light] body,
[data-bs-theme=light] .footer {
	background-color: var(--bs-secondary-bg);
}
[data-bs-theme=dark] body,
[data-bs-theme=dark] .footer {
	background-color: var(--bs-dark-bg-subtle);
}
	
*,
::before,
::after {
	box-sizing: border-box;
}
body, html {
	font-size: 15px;
	font-family: var(--body-font);
}
body {
	position: relative;
	margin: var(--header-height) 0 0 0;
	padding: 0 1rem 2rem;
}

.body-pd {
	padding-left: calc(var(--nav-width) + 1rem);
}

hr {
	border-color: var(--bs-border-color);
	opacity: 1;
}

.fs-0 {
	font-size: inherit;
}

.w-1170 {
	max-width: 1170px;
}

.table-row {
	margin-left: -.5rem;
	margin-right: -.5rem;
}

.bd-callout {
    --bs-link-color-rgb: var(--bd-callout-link);
    --bs-code-color: var(--bd-callout-code-color);
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--bd-callout-color, inherit);
    background-color: var(--bd-callout-bg, var(--bs-gray-100));
    border-left: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300));
}
.bd-callout+.bd-callout {
    margin-top: -.25rem;
}
.bd-callout-info {
    --bd-callout-color: var(--bs-info-text-emphasis);
    --bd-callout-bg: var(--bs-info-bg-subtle);
    --bd-callout-border: var(--bs-info-border-subtle);
}
.bd-callout-warning {
    --bd-callout-color: var(--bs-warning-text-emphasis);
    --bd-callout-bg: var(--bs-warning-bg-subtle);
    --bd-callout-border: var(--bs-warning-border-subtle);
}
.bd-callout-danger {
    --bd-callout-color: var(--bs-danger-text-emphasis);
    --bd-callout-bg: var(--bs-danger-bg-subtle);
    --bd-callout-border: var(--bs-danger-border-subtle);
}

.bd-navbar {
    padding: 0.75rem 0;
    background-color: transparent;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15), inset 0 -1px 0 rgba(255,255,255,0.15);
}
.bd-navbar .navbar-toggler {
    padding: 0;
    margin-right: -0.5rem;
    border: 0;
}
.bd-navbar .navbar-toggler i {
	font-size: 24px;
}
.bd-navbar .nav-link {
	position: relative;
}
.bd-navbar .navbar-toggler, .bd-navbar .nav-link {
    padding-right: 0.25rem;
    padding-left: 0.25rem;
    color: rgba(255,255,255,0.75);
}

.bi {
	vertical-align: -.125em;
	fill: currentColor;
	display: inline-block;
	width: var(--normal-font-size);
	height: var(--normal-font-size);
}

.bg-purple {
	background-color: var(--bs-purple);
}

.note-popover {
	--bs-popover-border-color: var(--bs-warning-border-subtle);
	--bs-popover-header-bg: var(--bs-warning-border-subtle);
	--bs-popover-bg: var(--bs-warning-bg-subtle);
	--bs-popover-body-color: var(--bs-warning-text-emphasis) !important;
	--bs-popover-header-color: var(--bs-warning-text-emphasis);
}
.note-popover .popover-header {
    font-size: inherit; /* Matches the font size of the body */
}

.note-popover .popover-body {
    font-size: inherit; /* Ensure the body uses the same font size */
}

/* If needed, you can set a specific font size for both */
.note-popover .popover-header,
.note-popover .popover-body {
    font-size: 14px; /* Set to your desired font size */
}

.cursor-pointer {
	cursor: pointer;
}

.icon-bg {
	height: 30px;
    width: 30px;
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}
.icon-bg-lg {
	height: 40px;
    width: 40px;
}

.border-bs {
	border-color: rgba(255,255,255,0.1);
}

.btn-purple {
	background-color: var(--bs-purple);
	color: var(--bs-white);
}
.btn-purple:hover,
.btn-purple:focus {
	background-color: #523190;
	color: var(--bs-white);
}

.btn-card {
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background: var(--bs-bg-white);
    color: var(--bs-bg-dark);
}
.btn-card:hover {
	background: var(--bs-tertiary-bg);
    color: var(--bs-bg-dark);
}

.btn-flat-white {
    background-color: rgba(255,255,255,0.1);
    border: none!important;
}
.btn-flat-white:hover, .btn-flat-white:focus, .btn-flat-white:active {
    background-color: rgba(255,255,255,0.2)!important;
    border: none!important;
}

.btn-link {
	text-decoration: none;
}

.auth-v1-top-shape, .auth-v1-bottom-shape {
    position: absolute;
}
.auth-v1-top-shape {
    block-size: 148px;
    inline-size: 148px;
    inset-block-start: -2.5rem;
    inset-inline-end: -2.5rem;
}
.auth-v1-bottom-shape {
    block-size: 240px;
    inline-size: 240px;
    inset-block-end: -4.5rem;
    inset-inline-start: -3rem;
}

.card-header {
	padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
	background-color: var(--bs-body-bg);
	border-color: var(--bs-border-color);
}

.bg-body {
	background-color: var(--bs-secondary-bg)!important;
}

a {
	text-decoration: none;
}

.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--bs-heading-color);
}

.dropdown-menu {
	font-size: var(--sm-font-size);
}
.dropdown-menu-lg {
    max-width: 300px;
    min-width: 280px;
    padding: 0;
}
.dropdown-menu-lg .dropdown-header {
    color: var(--bs-dropdown-link-color);
}
.dropdown-menu-lg .dropdown-item {
    padding: 0.5rem 1rem;
}
.dropdown-menu-lg .dropdown-divider {
    margin: 0;
}
.dropdown-menu-lg .dropdown-item-title {
    font-size: 1rem;
    margin: 0;
}
.dropdown-menu-lg p {
    margin: 0;
    white-space: normal;
}
.media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
}
.media-body {
    -ms-flex: 1;
    flex: 1;
}

.footer {
	width: 100%;
	z-index: 9;
	transition: padding-left 0.5s;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--bs-border-color);
    box-shadow: none;
}

.form-floating.required label:after { 
	content: " *";
	color: rgba(var(--bs-danger-rgb),var(--bs-text-opacity))!important;
}

.form-switch .form-check-input:checked {
	background-color: #198754;
	border-color: #198754;
}

.page-link:focus {
	box-shadow: none;
}

.header {
	color: var(--white-color);
	width: 100%;
	height: var(--header-height);
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1rem;
	z-index: var(--z-fixed);
	transition: padding-left 0.5s;
}

.header .dropdown-toggle::after {
	display: none;
}

.header_toggle {
	color: var(--white-color);
	font-size: 1.5rem;
	height: 32px;
	cursor: pointer;
	display: flex;
	align-items: center;
	background: rgba(255,255,255,0.1);
    border-radius: 2rem;
    height: 32px;
    width: 32px;
    justify-content: center;
}
.header_toggle:hover {
	color: var(--white-color);
	background: rgba(255,255,255,0.2);
}

i.bi {
	display: flex;
	font-size: var(--normal-font-size);
}

i.icon-rotate {
	transform: rotate(-180deg);
}

.menu-right {
	display: flex;
	justify-content: center;
}

.header_img {
	width: 36px;
	height: 36px;
	border: 1px solid rgba(255,255,255,.25);
	justify-content: center;
	border-radius: 50%;
	overflow: hidden;
}

.header_img img {
	width: 36px;
}

.height-100 {
	height: 100vh;
}

/* Sidebar CSS */
.l-navbar {
	position: fixed;
	top: 0;
	left: 0;
	width: var(--nav-width); /* Collapsed by default */
	height: 100vh;
	overflow: hidden; /* Hide content when collapsed */
	padding: 1rem 1rem 0 0;
	transition: width 0.3s ease; /* Smooth transition */
	z-index: var(--z-fixed);
}

.l-navbar .nav_list .nav_link {
	opacity: 0; /* Hide links by default */
	transition: opacity 0.3s ease;
}

.l-navbar:hover {
	width: calc(var(--nav-width) + 156px); /* Expanded width on hover */
}

.l-navbar:hover .nav_list .nav_link {
	opacity: 1; /* Show links on hover */
}

.nav_logo, .nav_link {
	display: grid;
	grid-template-columns: max-content max-content;
	align-items: center;
	column-gap: 1rem;
	padding: 0.5rem 0 0.5rem 1.5rem;
}

.nav_logo {
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: 0.25rem 0 1.25rem 1.5rem;
}

.nav_logo-icon {
	font-size: 1.25rem;
	color: var(--white-color);
}

.nav_logo-name {
	color: var(--white-color);
	font-weight: 600;
}

#header .nav-link:hover, #sidebar .nav_link:hover {
	color: var(--white-color);
	opacity: 1;
}

.navbar-badge {
    font-size: .6rem;
    font-weight: 300;
    padding: 2px 4px;
    position: absolute!important;
    right: 5px;
    top: 9px!important;
}
.user-badge {
    font-size: .6rem;
    font-weight: 300;
    padding: 2px 4px;
    position: absolute;
    right: 2px;
    top: 2px;
}

.navbar-dark a, .navbar-dark button {
    color: #fff;
}

#sidebar .nav {
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
}

#sidebar .nav_link {
	position: relative;
	color: var(--white-color);
	opacity: .75;
	margin-bottom: 1rem;
	transition: opacity 0.3s;
}

#sidebar .nav_icon {
	font-size: 1.25rem;
	color: var(--white-color);
	transition: opacity 0.3s;
}

#sidebar .nav_list .active, #sidebar .nav_list .nav_link.active .nav_icon {
	color: var(--white-color);
	opacity: 1;
} 

#sidebar .nav_list .active::before {
	content: "";
	position: absolute;
	left: 0;
	width: 2px;
	height: 32px;
	background-color: var(--theme-color);
}

table.dataTable thead>tr>th.sorting:before, table.dataTable thead>tr>th.sorting:after, table.dataTable thead>tr>th.sorting_asc:before, table.dataTable thead>tr>th.sorting_asc:after, table.dataTable thead>tr>th.sorting_desc:before, table.dataTable thead>tr>th.sorting_desc:after, table.dataTable thead>tr>th.sorting_asc_disabled:before, table.dataTable thead>tr>th.sorting_asc_disabled:after, table.dataTable thead>tr>th.sorting_desc_disabled:before, table.dataTable thead>tr>th.sorting_desc_disabled:after, table.dataTable thead>tr>td.sorting:before, table.dataTable thead>tr>td.sorting:after, table.dataTable thead>tr>td.sorting_asc:before, table.dataTable thead>tr>td.sorting_asc:after, table.dataTable thead>tr>td.sorting_desc:before, table.dataTable thead>tr>td.sorting_desc:after, table.dataTable thead>tr>td.sorting_asc_disabled:before, table.dataTable thead>tr>td.sorting_asc_disabled:after, table.dataTable thead>tr>td.sorting_desc_disabled:before, table.dataTable thead>tr>td.sorting_desc_disabled:after {
	font-size: .6em;
}
table.dataTable thead th, table.dataTable thead tr>.dtfc-fixed-left, table.dataTable thead tr>.dtfc-fixed-right, table.dataTable tfoot tr>.dtfc-fixed-left, table.dataTable tfoot tr>.dtfc-fixed-right {
	background-color: var(--bs-gray-100);
}
[data-bs-theme=dark] table.dataTable thead th, [data-bs-theme=dark] table.dataTable thead tr>.dtfc-fixed-left, [data-bs-theme=dark] table.dataTable thead tr>.dtfc-fixed-right, [data-bs-theme=dark] table.dataTable tfoot tr>.dtfc-fixed-left, [data-bs-theme=dark] table.dataTable tfoot tr>.dtfc-fixed-right {
	background-color: var(--bs-dark-bg-subtle);
}

html[data-bs-theme=dark] table.dataTable thead tr>.dtfc-fixed-left, html[data-bs-theme=dark] table.dataTable thead tr>.dtfc-fixed-right, html[data-bs-theme=dark] table.dataTable tfoot tr>.dtfc-fixed-left, html[data-bs-theme=dark] table.dataTable tfoot tr>.dtfc-fixed-right {
	background-color: var(--bs-dark-bg-subtle);
}

table.dataTable thead th:hover, table.dataTable thead tr>.dtfc-fixed-left:hover, table.dataTable thead tr>.dtfc-fixed-right:hover, table.dataTable tfoot tr>.dtfc-fixed-left:hover, table.dataTable tfoot tr>.dtfc-fixed-right:hover {
	background-color: var(--bs-gray-200);
}
[data-bs-theme=dark] table.dataTable thead th:hover, [data-bs-theme=dark] table.dataTable thead tr>.dtfc-fixed-left:hover, [data-bs-theme=dark] table.dataTable thead tr>.dtfc-fixed-right:hover, [data-bs-theme=dark] table.dataTable tfoot tr>.dtfc-fixed-left:hover, [data-bs-theme=dark] table.dataTable tfoot tr>.dtfc-fixed-right:hover {
	background-color: var(--bs-dark);
}
thead>tr>th {
	font-weight: 600;
}
.dtfh-floatingparenthead table.dataTable thead>tr>th {
	font-size: .875em;
}
table.dataTable.table-hover>tbody>tr:hover>* {
	box-shadow: none;
	background-color: var(--bs-gray-100);
}
[data-bs-theme=dark] table.dataTable.table-hover>tbody>tr:hover>* {
	box-shadow: none;
	background-color: var(--bs-dark-bg-subtle);
}
.dataTables_scrollHeadInner {
	width: 100%;
}

.table .mw-200 {
	max-width: 200px;
}

table tr {
	white-space:nowrap;
}

div.dataTables_scrollBody {
    border-left: none !important;
}

td i.bi {
	display: inline-flex;
}

.form-floating>:disabled~label::after {
    background-color: var(--bs-secondary-bg)!important;
}

@media screen and (min-width: 768px) {
	body {
		margin: var(--header-height) 0 0 0;
		padding-left: var(--nav-width);
		transition: padding-left 0.3s ease;
	}
	
	.footer {
		padding: 0 1rem 0 calc(var(--nav-width));
		transition: padding-left 0.3s ease;
	}
	
	.header {
		padding: 0 1rem 0 calc(var(--nav-width));
		transition: padding-left 0.3s ease;
	}
}

@media print {
	body {
		margin: 0;
		padding: 0;
		background-color: #fff!important;
	}
	.body-pd {
		margin: 0;
		padding: 0;
	}
	.card.shadow {
	    box-shadow: none!important;
	}
	.p-print-0 {
		padding: 0!important;
	}
}
