:root {
	/* Font stack */
	--bs-font-sans-serif: Inter, Helvetica, Arial, sans-serif;
	--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Courier New", monospace;

	/* Body */
	--bs-body-bg: #f0f2f5;
	--bs-body-color: #737373;
	--bs-heading-color: #262626;

	/* Gradients */
	--bs-gradient-dark: linear-gradient(195deg, #42424a 0%, #191919 100%);
	--bs-gradient-secondary: linear-gradient(195deg, #747b8a 0%, #495361 100%);
	--bs-gradient-light: linear-gradient(195deg, #ebeff4 0%, #ced4da 100%);

	/* Transition */
	--bs-transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
	--bs-transition-duration: 0.2s;

	/* Card */
	--bs-card-color: var(--bs-primary-contrast);
	--bs-card-spacer-x: 1.5rem;
}

.nav-tabs {
	/* Nav tabs */
	--bs-nav-tabs-link-active-bg: var(--bs-primary-contrast);
}

.card{
	--bs-card-cap-padding-y: 1rem;
}

/* ================================================================
2. BASE / RESET
================================================================ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--bs-font-sans-serif);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--bs-body-color);
	background-color: var(--bs-body-bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
}

a {
	color: var(--bs-gray-800);
	text-decoration: none;
	transition: color var(--bs-transition-duration) var(--bs-transition-ease);
}

a:hover {
	color: var(--bs-gray-600);
}

::selection {
	background: var(--bs-gray-300);
	color: var(--bs-gray-900);
}

hr {
	margin: 1rem 0;
	color: inherit;
	border: 0;
	border-top: 1px solid;
	opacity: 0.25;
}

img {
	max-width: 100%;
	height: auto;
}

/* ================================================================
3. TYPOGRAPHY
================================================================ */

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

h1,
.h1 {
	font-size: 3rem;
	letter-spacing: -0.5px;
}

h2,
.h2 {
	font-size: 2.38rem;
}

h3,
.h3 {
	font-size: 1.8rem;
}

h4,
.h4 {
	font-size: 1.5rem;
}

h5,
.h5 {
	font-size: 1.13rem;
}

h6,
.h6 {
	font-size: 1rem;
}

p {
	margin-top: 0;
	margin-bottom: 1rem;
}

/* Material Dashboard text size utilities */
.text-xxs {
	font-size: 0.65rem !important;
	line-height: 1.25;
}

.text-xs {
	font-size: 0.75rem !important;
	line-height: 1.25;
}

.text-sm {
	font-size: 0.88rem !important;
}

.text-md {
	font-size: 1rem !important;
}

.text-lg {
	font-size: 1.13rem !important;
}

.text-xl {
	font-size: 1.25rem !important;
}

/* Font weights */
.font-weight-light {
	font-weight: 300 !important;
}

.font-weight-lighter {
	font-weight: 200 !important;
}

.font-weight-normal {
	font-weight: 400 !important;
}

.font-weight-bold {
	font-weight: 600 !important;
}

.font-weight-bolder {
	font-weight: 700 !important;
}

.text-uppercase {
	text-transform: uppercase !important;
}

.text-lowercase {
	text-transform: lowercase !important;
}

.text-capitalize {
	text-transform: capitalize !important;
}

.text-gradient {
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.letter-wider {
	letter-spacing: 0.05em;
}

hr {
	border-top: none;
	height: 1px
}

hr.vertical {
	position: absolute;
	background-color: transparent;
	height: 100%;
	right: 0;
	top: 0;
	width: 1px
}

hr.vertical.light {
	background-image: linear-gradient(90deg, hsla(0, 0%, 100%, 0), #fff, hsla(0, 0%, 100%, 0))
}

hr.vertical.dark {
	background-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .4), transparent)
}

hr.vertical.gray-light {
	background-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .1), transparent)
}

hr.horizontal {
	background-color: transparent
}

hr.horizontal.light {
	background-image: linear-gradient(90deg, hsla(0, 0%, 100%, 0), #fff, hsla(0, 0%, 100%, 0))
}

hr.horizontal.dark {
	background-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .4), transparent)
}

hr.horizontal.gray-light {
	background-image: linear-gradient(90deg, transparent, rgba(0, 0, 0, .1), transparent)
}

/* ================================================================
4. CARDS — Material Dashboard style
================================================================ */

.card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	word-wrap: break-word;
	background-color: #fff;
	background-clip: border-box;
	border: 0;
	border-radius: 0.75rem;
	box-shadow: var(--bs-box-shadow);
	transition: box-shadow var(--bs-transition-duration) var(--bs-transition-ease);
}

.card-header {
	margin-bottom: 0;
	background-color: transparent;
	border-bottom: 0;
}

.card-header:first-child {
	border-radius: 0.75rem 0.75rem 0 0;
}

/* Raised header — negative margin, sits above card */
.card-header-raised {
	margin: -1.5rem 1rem 0;
	padding: 1rem 1.5rem;
	border-radius: 0.5rem;
	position: relative;
	z-index: 1;
}

.card-header-raised.bg-gradient-dark {
	background-color: var(--primaryColor);
	color: var(--invertedColor);
	box-shadow: 0 0.25rem 1.25rem 0 rgba(0, 0, 0, 0.14), 0 0.44rem 0.63rem -0.31rem rgba(64, 64, 64, 0.4);
}

.card-header-raised.bg-gradient-secondary {
	background-color: var(--secondaryColor);
	color: var(--invertedColor);
	box-shadow: 0 0.25rem 1.25rem 0 rgba(0, 0, 0, 0.14), 0 0.44rem 0.63rem -0.31rem rgba(64, 64, 64, 0.4);
}

.card-footer {
	padding: 0.75rem 1.5rem;
	background-color: transparent;
	border-top: 0;
}

.card-title {
	font-size: 1.3rem;
	font-weight: 500;
	color: var(--bs-heading-color);
	margin-bottom: 1rem;
}

.card-description {
	font-size: 0.88rem;
	color: var(--bs-gray-500);
}

/* Stat/icon card */
.card .card-header .card-icon {
	width: 4rem;
	height: 4rem;
	border-radius: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background-image: var(--bs-gradient-dark);
	color: #fff;
	box-shadow: 0 0.25rem 1.25rem 0 rgba(0, 0, 0, 0.14), 0 0.44rem 0.63rem -0.31rem rgba(64, 64, 64, 0.4);
	margin-top: -1.5rem;
}

/* ================================================================
5. BUTTONS
================================================================ */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--bs-font-sans-serif);
	font-size: 0.85rem;
	font-weight: 700;
	letter-spacing: 0;
	padding: 0.5rem 1rem;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: all 150ms ease-in;
	text-decoration: none;
	white-space: nowrap;
	line-height: 1.4;
	text-align: center;
	vertical-align: middle;
	user-select: none;
}

.btn:not([class*="btn-outline-"]) {
	border: 0;
}

/* Primary action — gradient dark */
.btn-dark,
.btn.bg-gradient-dark {
	background-image: var(--bs-gradient-dark);
	color: #fff;
	box-shadow: 0 2px 2px 0 rgba(38, 38, 38, 0.1), 0 0.19rem 1px -2px rgba(38, 38, 38, 0.18), 0 1px 0.31rem 0 rgba(38, 38, 38, 0.15);
}

.btn-dark:hover,
.btn.bg-gradient-dark:hover {
	background-color: var(--bs-gray-800);
	box-shadow: 0 0.5rem 0.88rem -0.5rem rgba(38, 38, 38, 0.3), 0 0.19rem 1.13rem 0 rgba(38, 38, 38, 0.1), 0 0.44rem 0.5rem -0.25rem rgba(38, 38, 38, 0.18);
	color: #fff;
	opacity: 0.85;
}

.btn-dark:focus,
.btn.bg-gradient-dark:focus {
	color: #fff;
	box-shadow: 0 0.5rem 0.88rem -0.5rem rgba(38, 38, 38, 0.3), 0 0.19rem 1.13rem 0 rgba(38, 38, 38, 0.1);
}

/* Secondary */
.btn-secondary,
.btn.bg-gradient-secondary {
	background-image: var(--bs-gradient-secondary);
	color: #fff;
	box-shadow: 0 2px 2px 0 rgba(115, 115, 115, 0.1), 0 0.19rem 1px -2px rgba(115, 115, 115, 0.18), 0 1px 0.31rem 0 rgba(115, 115, 115, 0.15);
}

.btn-secondary:hover,
.btn.bg-gradient-secondary:hover {
	opacity: 0.85;
	color: #fff;
	box-shadow: 0 0.5rem 0.88rem -0.5rem rgba(115, 115, 115, 0.3), 0 0.19rem 1.13rem 0 rgba(115, 115, 115, 0.1);
}

/* Light */
.btn-light,
.btn.bg-gradient-light {
	background-image: var(--bs-gradient-light);
	color: var(--bs-gray-800);
	box-shadow: 0 2px 2px 0 rgba(200, 200, 200, 0.14);
}

.btn-light:hover {
	color: var(--bs-gray-900);
	opacity: 0.85;
}

/* White */
.btn-white {
	background-color: #fff;
	color: var(--bs-gray-800);
	border: 1px solid var(--bs-gray-300);
}

.btn-white:hover {
	background-color: var(--bs-gray-100);
	color: var(--bs-gray-900);
}

/* Outlined variants */
.btn-outline-dark {
	color: var(--bs-gray-800);
	border: 1px solid var(--bs-gray-800);
	background-color: transparent;
	box-shadow: none;
}

.btn-outline-dark:hover {
	background-color: var(--bs-gray-800);
	color: #fff;
}

.btn-outline-secondary {
	color: var(--bs-gray-500);
	border: 1px solid var(--bs-gray-400);
	background-color: transparent;
	box-shadow: none;
}

.btn-outline-secondary:hover {
	background-color: var(--bs-gray-500);
	color: #fff;
}

/* Link style */
.btn-link {
	background: transparent;
	color: var(--bs-gray-700);
	box-shadow: none;
	padding: 0.63rem 1rem;
}

.btn-link:hover {
	color: var(--bs-gray-900);
	box-shadow: none;
}

/* Icon-only (circular) */
.btn-icon-only {
	width: 2.38rem;
	height: 2.38rem;
	padding: 0;
	border-radius: 50%;
	line-height: 1;
}

.btn-icon-only i {
	font-size: 1rem;
}

/* Round pill */
.btn-round {
	border-radius: 1.88rem;
}

/* Sizes */
.btn-sm {
	font-size: 0.69rem;
	padding: 0.38rem 1rem;
	border-radius: 0.38rem;
}

.btn-lg {
	font-size: 0.88rem;
	padding: 0.75rem 2rem;
	border-radius: 0.5rem;
}

.btn-full{
	display: block;
	width: 100%;
	padding-left:0.2rem;
	padding-right:0.2rem;
}




.icon-shape {
	width: 3rem;
	height: 3rem;
	background-position: 50%;
	border-radius: 0.5rem
}

.icon-shape i {
	color: #fff;
	opacity: .8;
	top: 0.69rem;
	position: relative
}

.icon-shape .ni {
	top: 0.88rem
}

.icon-xxs {
	width: 1.25rem;
	height: 1.25rem
}

.icon-xxs i {
	top: 0;
	font-size: 0.65rem
}

.icon-xs {
	width: 1.5rem;
	height: 1.5rem
}

.icon-xs i {
	top: -1px;
	font-size: 0.75rem
}

.icon-sm {
	width: 2rem;
	height: 2rem
}

.icon-sm i {
	top: 0.25rem;
	font-size: 0.88rem
}

.icon-md {
	width: 3rem;
	height: 3rem
}

.icon-md i {
	top: 30%;
	font-size: 1.13rem
}

.icon-md.icon-striped {
	background-position-x: 5.31rem;
	background-position-y: 5.31rem
}

.icon-md.icon-striped i {
	top: 11%;
	margin-left: -0.63rem;
	font-size: 0.88rem
}

.icon-lg {
	width: 4rem;
	height: 4rem
}

.icon-lg i {
	top: 31%;
	font-size: 1.5rem
}

.icon-lg.icon-striped {
	background-position-x: 6.94rem;
	background-position-y: 6.94rem
}

.icon-lg.icon-striped i {
	top: 21%;
	margin-left: -0.94rem
}

.icon-xl {
	width: 6.25rem;
	height: 6.25rem;
	border-radius: 0.5rem
}

.icon-xl i {
	top: 35%;
	font-size: 2.1rem
}

.icon-xl.icon-striped {
	background-position-x: 5rem;
	background-position-y: 5rem
}

.icon-xl.icon-striped i {
	top: 30%;
	margin-left: -0.94rem
}


/* ================================================================
6. FORMS — Material outlined inputs
================================================================ */

.form-control {
	display: block;
	width: 100%;
	padding: 0.5rem 0.75rem;
	font-family: var(--bs-font-sans-serif);
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--bs-gray-800);
	background-color: #fff;
	background-clip: padding-box;
	border: 1px solid var(--bs-gray-300);
	border-radius: 0.38rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	appearance: none;
}

.form-control:focus {
	color: var(--bs-gray-900);
	background-color: #fff;
	border-color: var(--bs-gray-800);
	outline: 0;
	box-shadow: 0 0 0 2px rgba(38, 38, 38, 0.15);
}

.form-control::placeholder {
	color: var(--bs-gray-400);
	opacity: 1;
}

.form-control:disabled {
	background-color: var(--bs-gray-100);
	opacity: 0.7;
	cursor: not-allowed;
}

.form-select {
	display: block;
	width: 100%;
	padding: 0.5rem 2.25rem 0.5rem 0.75rem;
	font-size: 0.88rem;
	font-weight: 400;
	line-height: 1.5;
	color: var(--bs-gray-800);
	background-color: #fff;
	border: 1px solid var(--bs-gray-300);
	border-radius: 0.38rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
	appearance: none;
}

.form-select:focus {
	border-color: var(--bs-gray-800);
	outline: 0;
	box-shadow: 0 0 0 2px rgba(38, 38, 38, 0.15);
}

/* Input group */
.input-group {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	width: 100%;
}

.input-group>.form-control {
	position: relative;
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
}

/* Floating labels */
.form-floating {
	position: relative;
}

.form-floating>.form-control {
	height: calc(3.5rem + 2px);
	padding: 1rem 0.75rem;
}

.form-floating>label {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	padding: 1rem 0.75rem;
	pointer-events: none;
	transform-origin: 0 0;
	transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
	color: var(--bs-gray-500);
	font-size: 0.88rem;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
	opacity: 0.65;
	transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Field wrapper (DocVero pattern) */
.md-field {
	position: relative;
	margin-bottom: 1.25rem;
}

.md-field label {
	display: block;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.4px;
	color: var(--bs-gray-600);
	margin-bottom: 0.25rem;
	text-transform: uppercase;
}

.form-check-label{
	padding-top:0.23rem;
}

.md-field .md-helper {
	font-size: 0.75rem;
	color: var(--bs-gray-500);
	margin-top: 0.25rem;
}

.md-field .md-error {
	font-size: 0.75rem;
	color: var(--bs-danger);
	font-weight: 500;
	margin-top: 0.25rem;
}

/* .md-field-required label::after {
	content: ' *';
	color: var(--bs-gray-500);
} */

/* Form label (standard) */
.form-label {
	margin-bottom: 0.5rem;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--bs-gray-700);
}

/* ================================================================
7. TABLES — Clean material tables
================================================================ */

.table {
	width: 100%;
	margin-bottom: 1rem;
	vertical-align: top;
	border-color: var(--bs-gray-200);
}

.table> :not(caption)>*>* {
	padding: 0.5rem 0.75rem;
	background-color: transparent;
	border-bottom-width: 1px;
}

.table>thead {
	vertical-align: bottom;
}

.table>thead th {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--bs-gray-500);
	padding: 0.75rem 0.75rem;
	border-bottom: 1px solid var(--bs-gray-200);
	opacity: 0.7;
}

.table>tbody td {
	font-size: 0.88rem;
	color: var(--bs-gray-700);
	padding: 0.5rem 0.75rem;
	border-bottom: 1px solid var(--bs-gray-100);
	vertical-align: middle;
}

.table-hover>tbody>tr {
	transition: background var(--bs-transition-duration) var(--bs-transition-ease);
}

.table-hover>tbody>tr:hover {
	background-color: var(--bs-gray-100);
}

.table-striped>tbody>tr:nth-of-type(odd) {
	background-color: rgba(0, 0, 0, 0.02);
}

/* md-table (DocVero compat) */
.md-table {
	width: 100%;
	border-collapse: collapse;
}

.md-table thead th {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--bs-gray-500);
	padding: 0.75rem;
	border-bottom: 2px solid var(--bs-gray-200);
	text-align: left;
	opacity: 0.7;
}

.md-table tbody td {
	font-size: 0.88rem;
	color: var(--bs-gray-700);
	padding: 0.5rem 0.75rem;
	border-bottom: 1px solid var(--bs-gray-100);
	vertical-align: middle;
}

.md-table tbody tr {
	transition: background var(--bs-transition-duration) var(--bs-transition-ease);
}

.md-table tbody tr:hover {
	background: var(--bs-gray-100);
}

/* ================================================================
8. BADGES
================================================================ */

.badge {
	display: inline-block;
	padding: 0.55em 0.9em;
	font-size: 0.65rem;
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	vertical-align: baseline;
	border-radius: 0.38rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.badge:empty {
	display: none;
}

.badge.bg-dark {
	background-color: var(--bs-gray-800) !important;
	color: #fff;
}

.badge.bg-secondary {
	background-color: var(--bs-gray-500) !important;
	color: #fff;
}

.badge.bg-light {
	background-color: var(--bs-gray-200) !important;
	color: var(--bs-gray-700);
}

.badge.bg-success {
	background-color: var(--bs-success) !important;
	color: #fff;
}

.badge.bg-info {
	background-color: var(--bs-info) !important;
	color: #fff;
}

.badge.bg-warning {
	background-color: var(--bs-warning) !important;
	color: #fff;
}

.badge.bg-danger {
	background-color: var(--bs-danger) !important;
	color: #fff;
}

.badge.bg-white {
	background-color: #fff !important;
	color: var(--bs-gray-800);
	box-shadow: inset 0 0 0 1px var(--bs-gray-200);
}

/* Badge sizes */
.badge-sm {
	font-size: 0.55rem;
	padding: 0.7em 0.7em 0.4em 0.7em;
}

.badge-lg {
	font-size: 0.75rem;
	padding: 0.9em 1.1em 0.65em 1.1em;
}

/* ================================================================
8b. PROGRESS BAR
================================================================ */

.progress,
.progress-stacked {
	--bs-progress-height: 0.38rem;
	--bs-progress-font-size: 0.75rem;
	--bs-progress-bg: var(--bs-gray-200);
	--bs-progress-border-radius: 0.13rem;
	--bs-progress-box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.075);
	--bs-progress-bar-color: #fff;
	--bs-progress-bar-bg: var(--bs-gray-800);
	--bs-progress-bar-transition: width 0.6s ease;
	display: flex;
	height: var(--bs-progress-height);
	overflow: visible;
	font-size: var(--bs-progress-font-size);
	background-color: var(--bs-progress-bg);
	border-radius: var(--bs-progress-border-radius);
}

.progress-bar {
	display: flex;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;
	color: var(--bs-progress-bar-color);
	text-align: center;
	white-space: nowrap;
	background-color: var(--bs-progress-bar-bg);
	transition: var(--bs-progress-bar-transition);
	height: 0.38rem;
	border-radius: 0.13rem;
}

.progress.progress-sm {
	height: 0.25rem;
}

.progress.progress-lg {
	height: 1.25rem;
}

/* ================================================================
9. AVATARS
================================================================ */

.avatar {
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1rem;
	border-radius: 50%;
	height: 3rem;
	width: 3rem;
	transition: all 0.2s ease-in-out;
	overflow: hidden;
	background: var(--bs-gray-300);
}

.avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.avatar+.avatar-content {
	display: inline-block;
	margin-left: 0.75rem;
}

.avatar.avatar-raised {
	margin-top: -1.5rem;
}

.avatar-xxl {
	width: 6.88rem !important;
	height: 6.88rem !important;
	font-size: 1.5rem;
}

.avatar-xl {
	width: 4.63rem !important;
	height: 4.63rem !important;
	font-size: 1.25rem;
}

.avatar-lg {
	width: 3.63rem !important;
	height: 3.63rem !important;
	font-size: 0.88rem;
}

.avatar-sm {
	width: 2.25rem !important;
	height: 2.25rem !important;
	font-size: 0.88rem;
}

.avatar-xs {
	width: 1.5rem !important;
	height: 1.5rem !important;
	font-size: 0.75rem;
}

.avatar-group .avatar {
	position: relative;
	z-index: 2;
	border: 2px solid #fff;
}

.avatar-group .avatar:hover {
	z-index: 3;
	transform: translateY(-2px);
}

.avatar-group .avatar+.avatar {
	margin-left: -1rem;
}

/* ================================================================
10. SIDENAV — Left sidebar
================================================================ */

.sidenav {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	width: 15.63rem;
	background-color: #fff;
	border-radius: 0 0.75rem 0.75rem 0;
	margin: 0.5rem 0 0.5rem 0.5rem;
	box-shadow: var(--bs-box-shadow);
	z-index: 1030;
	overflow-y: auto;
	overflow-x: hidden;
	transform: translateX(-18rem);
	transition: all 0.2s ease-in-out;
}

.sidenav-header {
	padding: 1.5rem 1.5rem 0.5rem;
}

.navbar-brand {
	display: flex;
	align-items: center;
	text-decoration: none;
	padding: 0;
	margin: 0 0 1rem 0;
	background-repeat:no-repeat;
	background-position:left center;
	background-size: contain;
	height: 4rem;
	min-width: 12rem;
}

.navbar-brand img {
	height: 1.75rem;
	width: auto;
}

.sidenav .navbar-nav {
	list-style: none;
	padding: 0.5rem 1rem;
	margin: 0;
	display: flex;
	flex-direction: column;
}

.sidenav .nav-item {
	margin-bottom: 0.13rem;
}

.nav-link{
	color: var(--primaryColor);
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link{
	background-color: var(--primaryColor);
	color: var(--invertedColor);
}

.sidenav .nav-link {
	display: flex;
	align-items: center;
	gap: 0.63rem;
	padding: 0.63rem 1rem;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--bs-gray-600);
	border-radius: 0.5rem;
	transition: all 150ms ease-in;
	text-decoration: none;
	white-space: nowrap;
}

.sidenav .nav-link i,
.sidenav .nav-link .material-symbols-rounded {
	font-size: 1.13rem;
	width: 1.5rem;
	text-align: center;
	opacity: 0.6;
}

.sidenav .nav-link:hover {
	background-color: var(--bs-gray-100);
	color: var(--bs-gray-900);
}

.sidenav .nav-link.active {
	background-color: var(--primaryColor);
	color: var(--invertedColor);
	box-shadow: 0 0.25rem 0.38rem -1px rgba(0, 0, 0, 0.12), 0 2px 0.25rem -1px rgba(0, 0, 0, 0.07);
}

.sidenav .nav-link.active i,
.sidenav .nav-link.active .material-symbols-rounded {
	opacity: 1;
	color: var(--invertedColor);
}

.sidenav .nav-link .sidenav-normal {
	transition: all 0.1s ease-in-out;
}

.sidenav .nav-link .sidenav-mini-icon {
	width: 1.5rem;
	text-align: center;
	font-size: 0.88rem;
}

.sidenav hr {
	margin: 0.5rem 1rem;
	opacity: 0.15;
}

.sidenav h6,
.sidenav .h6 {
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 0.75rem 1rem 0.38rem;
	color: var(--bs-gray-500);
	margin: 0;
}

/* Sidenav responsiveness */
.g-sidenav-show .sidenav {
	transform: translateX(0);
}

/* ================================================================
11. NAVBAR / APP BAR
================================================================ */

.navbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 0;
	position: relative;
	z-index: 120;
}

.navbar-main {
	background-color: transparent;
	box-shadow: none;
	border-radius: 0.75rem;
	padding: 1rem 0;
	margin: 0.5rem 0.5rem;
	transition: all 0.2s ease-in-out;
}

.navbar-main.fixed-top,
.navbar-main.position-sticky {
	background-color: rgba(255, 255, 255, 0.8);
	backdrop-filter: saturate(200%) blur(1.88rem);
	box-shadow: var(--bs-box-shadow-blur);
}

.navbar .breadcrumb {
	display: flex;
	flex-wrap: wrap;
	padding: 0;
	margin: 0;
	list-style: none;
	background-color: transparent;
	font-size: 0.88rem;
}

.navbar .breadcrumb-item+.breadcrumb-item::before {
	content: '/';
	padding: 0 0.5rem;
	color: var(--bs-gray-400);
}

.navbar .breadcrumb-item a {
	color: var(--bs-gray-500);
	opacity: 0.8;
}

.navbar .breadcrumb-item.active {
	color: var(--bs-gray-800);
	font-weight: 600;
}

.navbar .nav-link {
	color: var(--bs-gray-600);
	padding: 0.5rem;
	font-size: 0.88rem;
	transition: color var(--bs-transition-duration);
}

.navbar .nav-link:hover {
	color: var(--bs-gray-900);
}

.navbar .nav-link.active:hover {
	color: var(--bs-gray-300);
}

.navbar .nav-link i {
	font-size: 1.13rem;
}

/* ================================================================
11b. DROPDOWN — Menus
================================================================ */

.dropdown,
.dropstart,
.dropup-center,
.dropdown-center {
	position: relative;
}

.dropdown-toggle {
	white-space: nowrap;
}

.dropdown-toggle::after {
	display: inline-block;
	margin-left: 0.255em;
	vertical-align: 0.255em;
	content: "";
	border-top: 0.3em solid;
	border-right: 0.3em solid transparent;
	border-bottom: 0;
	border-left: 0.3em solid transparent;
}

.dropdown-toggle:empty::after {
	margin-left: 0;
}

.dropdown-menu {
	--bs-dropdown-zindex: 1000;
	--bs-dropdown-min-width: 11rem;
	--bs-dropdown-padding-x: 0;
	--bs-dropdown-padding-y: 0.5rem;
	--bs-dropdown-spacer: 0.63rem;
	--bs-dropdown-font-size: 0.88rem;
	--bs-dropdown-color: var(--bs-gray-700);
	--bs-dropdown-bg: #fff;
	--bs-dropdown-border-color: var(--bs-gray-200);
	--bs-dropdown-border-radius: 0.5rem;
	--bs-dropdown-border-width: 0;
	--bs-dropdown-inner-border-radius: 0.5rem;
	--bs-dropdown-divider-bg: var(--bs-gray-200);
	--bs-dropdown-divider-margin-y: 0.25rem;
	--bs-dropdown-box-shadow: 0 0.63rem 0.94rem -0.19rem rgba(0, 0, 0, 0.1), 0 0.25rem 0.38rem -2px rgba(0, 0, 0, 0.05);
	--bs-dropdown-link-color: var(--bs-gray-700);
	--bs-dropdown-link-hover-color: var(--bs-gray-900);
	--bs-dropdown-link-hover-bg: var(--bs-gray-100);
	--bs-dropdown-link-active-color: #fff;
	--bs-dropdown-link-active-bg: var(--bs-gray-800);
	--bs-dropdown-link-disabled-color: var(--bs-gray-400);
	--bs-dropdown-item-padding-x: 1rem;
	--bs-dropdown-item-padding-y: 0.38rem;
	--bs-dropdown-header-color: var(--bs-gray-500);
	--bs-dropdown-header-padding-x: 1rem;
	--bs-dropdown-header-padding-y: 0.5rem;
	position: absolute;
	z-index: var(--bs-dropdown-zindex);
	display: none;
	min-width: var(--bs-dropdown-min-width);
	padding: var(--bs-dropdown-padding-y) var(--bs-dropdown-padding-x);
	margin: 0;
	font-size: var(--bs-dropdown-font-size);
	color: var(--bs-dropdown-color);
	text-align: left;
	list-style: none;
	background-color: var(--bs-dropdown-bg);
	background-clip: padding-box;
	border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
	border-radius: var(--bs-dropdown-border-radius);
	box-shadow: var(--bs-dropdown-box-shadow);
}

.dropdown-menu.show {
	display: block;
}

.dropdown-menu[data-bs-popper] {
	top: 100%;
	left: 0;
	margin-top: var(--bs-dropdown-spacer);
}

.dropdown-menu-start[data-bs-popper] {
	right: auto;
	left: 0;
}

.dropdown-menu-end {
	--bs-position: end;
}

.dropdown-menu-end[data-bs-popper] {
	right: 0;
	left: auto;
}

.dropdown-divider {
	height: 0;
	margin: var(--bs-dropdown-divider-margin-y) 0;
	overflow: hidden;
	border-top: 1px solid var(--bs-dropdown-divider-bg);
	opacity: 1;
}

.dropdown-item {
	display: block;
	width: 100%;
	padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
	clear: both;
	font-weight: 400;
	color: var(--bs-dropdown-link-color);
	text-align: inherit;
	text-decoration: none;
	white-space: nowrap;
	background-color: transparent;
	border: 0;
	transition: background-color 0.15s ease-in-out, color 0.15s ease-in-out;
}

.dropdown-item:hover,
.dropdown-item:focus {
	color: var(--bs-dropdown-link-hover-color);
	background-color: var(--bs-dropdown-link-hover-bg);
}

.dropdown-item.active,
.dropdown-item:active {
	color: var(--bs-dropdown-link-active-color);
	text-decoration: none;
	background-color: var(--bs-dropdown-link-active-bg);
}

.dropdown-item.disabled,
.dropdown-item:disabled {
	color: var(--bs-dropdown-link-disabled-color);
	pointer-events: none;
	background-color: transparent;
}

.dropdown-header {
	display: block;
	padding: var(--bs-dropdown-header-padding-y) var(--bs-dropdown-header-padding-x);
	margin-bottom: 0;
	font-size: 0.75rem;
	font-weight: 600;
	color: var(--bs-dropdown-header-color);
	white-space: nowrap;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

/* ================================================================
11c. NAVBAR EXPAND — Responsive navbar helpers
================================================================ */

.navbar-collapse {
	flex-basis: 100%;
	flex-grow: 1;
	align-items: center;
}

.navbar-toggler {
	padding: 0.25rem 0.75rem;
	font-size: 1.13rem;
	line-height: 1;
	color: var(--bs-gray-600);
	background-color: transparent;
	border: 1px solid transparent;
	border-radius: 0.5rem;
	transition: box-shadow 0.15s ease-in-out;
	cursor: pointer;
}

.navbar-toggler:hover {
	text-decoration: none;
}

.navbar-toggler:focus {
	text-decoration: none;
	outline: 0;
	box-shadow: 0 0 0 0.1rem;
}

.navbar-toggler-icon {
	display: inline-block;
	width: 1.5em;
	height: 1.5em;
	vertical-align: middle;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 100%;
}

/* navbar-expand-lg — desktop breakpoint */
@media (min-width: 992px) {
	.navbar-expand-lg {
		flex-wrap: nowrap;
		justify-content: flex-start;
	}

	.navbar-expand-lg .navbar-nav {
		flex-direction: row;
	}

	.navbar-expand-lg .navbar-nav .dropdown-menu {
		position: absolute;
	}

	.navbar-expand-lg .navbar-nav .nav-link {
		padding-right: 0.5rem;
		padding-left: 0.5rem;
	}

	.navbar-expand-lg .navbar-collapse {
		display: flex !important;
		flex-basis: auto;
	}

	.navbar-expand-lg .navbar-toggler {
		display: none;
	}
}

.navbar-expand-xs {
	flex-wrap: nowrap;
	justify-content: flex-start;
}
.navbar-expand-xs .navbar-toggler {
	display: none;
}

/* ================================================================
11d. NAVBAR VERTICAL — Sidenav-specific navbar
================================================================ */
.navbar-vertical .navbar-nav .nav-link {
	position: relative;
	padding-left: 2.5rem;
	padding-right: 0.75rem;
	font-weight: 500;
	font-size: 0.88rem;
	display: flex;
	align-items: center;
	white-space: nowrap;
}

.navbar-vertical .navbar-nav .nav-link > i {
	display: block;
	position: absolute;
	top: 0.5rem;
	left: 0.5rem;
	width: 1.5rem;
	height: 1.5rem;
	font-size: 1.13rem;
	line-height:1.5rem;
	text-align: center;
}

.navbar-vertical .navbar-nav .nav-link .dropdown-menu {
	border: none;
}

.navbar-vertical .navbar-nav .nav-link .avatar {
	width: 1.88rem;
	height: 1.88rem;
}

.navbar-vertical .navbar-heading {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.navbar-vertical.navbar-expand-xs {
	display: block;
	position: fixed;
	top: 0;
	bottom: 0;
	width: 100%;
	max-width: 15.63rem;
	overflow-y: auto;
	padding: 0;
	z-index: 1030;
}

.navbar-vertical.navbar-expand-xs .navbar-collapse {
	display: block;
	overflow: auto;
	height: calc(100vh - 12.5rem);
}

.navbar-vertical.navbar-expand-xs>[class*="container"] {
	flex-direction: column;
	align-items: stretch;
	min-height: 100%;
	padding-left: 0;
	padding-right: 0;
}

.navbar-vertical.navbar-expand-xs .navbar-nav .nav-link .nav-link-text,
.navbar-vertical.navbar-expand-xs .navbar-nav .nav-link .sidenav-mini-icon,
.navbar-vertical.navbar-expand-xs .navbar-nav .nav-link .sidenav-normal,
.navbar-vertical.navbar-expand-xs .navbar-nav .nav-link i {
	pointer-events: none;
}

/* ================================================================
11e. NAV-LINK-TEXT — Sidenav label text
================================================================ */

.nav-link-text {
	font-size: 0.88rem;
	font-weight: 500;
	opacity: 1;
	transition: opacity 0.2s ease;
}

/* ================================================================
12. TIMELINE — Vertical with dots
================================================================ */

/*
.md-timeline {
	position: relative;
	padding-left: 2rem;
}

.md-timeline::before {
	content: '';
	position: absolute;
	left: 0.5rem;
	top: 0.5rem;
	bottom: 0.5rem;
	width: 2px;
	background: var(--bs-gray-200);
}

.md-timeline-item {
	position: relative;
	padding-bottom: 1.5rem;
}

.md-timeline-item::before {
	content: '';
	position: absolute;
	left: -1.63rem;
	top: 0.38rem;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	background: var(--bs-gray-400);
	border: 2px solid #fff;
}

.md-timeline-item.current::before {
	background: var(--bs-gray-900);
}

.md-timeline-item:last-child {
	padding-bottom: 0;
}

.md-timeline-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin-bottom: 0.25rem;
}

.md-timeline-user {
	font-weight: 600;
	font-size: 0.81rem;
	color: var(--bs-gray-900);
}

.md-timeline-date {
	font-size: 0.75rem;
	color: var(--bs-gray-400);
}

.md-timeline-departments {
	font-size: 0.81rem;
	color: var(--bs-gray-500);
}

.md-timeline-message {
	margin-top: 0.5rem;
	padding: 0.75rem;
	background: var(--bs-gray-100);
	border-radius: 0.38rem;
	font-size: 0.81rem;
	color: var(--bs-gray-700);
	line-height: 1.5;
}
*/

/* ================================================================
13. LISTS — Material list items
================================================================ */

.md-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.md-list-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 0.75rem 0;
	border-bottom: 1px solid var(--bs-gray-100);
	transition: background var(--bs-transition-duration) var(--bs-transition-ease);
	cursor: pointer;
}

.md-list-item:hover {
	background: var(--bs-gray-100);
}

.md-list-item:last-child {
	border-bottom: none;
}

.md-list-item-icon {
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--bs-gray-200);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--bs-gray-600);
}

.md-list-item-content {
	flex: 1;
	min-width: 0;
}

.md-list-item-title {
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--bs-gray-900);
}

.md-list-item-subtitle {
	font-size: 0.81rem;
	color: var(--bs-gray-500);
	margin-top: 2px;
}

.md-list-item-meta {
	flex-shrink: 0;
	text-align: right;
}

/* ================================================================
14. STATUS INDICATORS — Dot-based
================================================================ */

.md-status {
	display: inline-flex;
	align-items: center;
	gap: 0.38rem;
	font-size: 0.75rem;
	font-weight: 500;
}

.md-status::before {
	content: '';
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: var(--bs-gray-400);
	flex-shrink: 0;
}

.md-status-active::before {
	background: var(--bs-gray-900);
}

.md-status-open::before {
	background: var(--bs-gray-900);
}

.md-status-pending::before {
	background: var(--bs-gray-500);
}

.md-status-draft::before {
	background: var(--bs-gray-400);
}

.md-status-signed::before {
	background: var(--bs-gray-800);
}

.md-status-closed::before {
	background: var(--bs-gray-600);
}

.md-status-refused::before {
	background: var(--bs-gray-400);
}

.md-status-archived::before {
	background: var(--bs-gray-300);
}

.md-status-contract::before {
	background: var(--bs-gray-700);
}

/* ================================================================
15. PROCESS CARDS — Read status treatment
================================================================ */

.md-process-item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	padding: 1rem;
	background: #fff;
	border-radius: 0.5rem;
	border: 1px solid var(--bs-gray-200);
	margin-bottom: 0.5rem;
	transition: all var(--bs-transition-duration) var(--bs-transition-ease);
}

.md-process-item:hover {
	box-shadow: var(--bs-box-shadow-sm);
	border-color: var(--bs-gray-300);
}

/* Unread — strong left border */
.md-process-item.unread {
	border-left: 0.19rem solid var(--bs-gray-900);
}

.md-process-item.unread .md-process-title {
	font-weight: 700;
}

/* Read by department */
.md-process-item.read-department {
	border-left: 0.19rem solid var(--bs-gray-400);
}

/* Read (fully) — no special border */
.md-process-item.read {
	opacity: 0.85;
}

.md-process-code {
	font-family: var(--bs-font-monospace);
	font-size: 0.75rem;
	color: var(--bs-gray-500);
}

.md-process-title {
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--bs-gray-900);
}

.md-process-title a {
	color: inherit;
}

.md-process-title a:hover {
	color: var(--bs-gray-600);
}


/* ================================================================
17. SIGNATURE COMPONENTS
================================================================ */

.md-sign-progress {
	height: 0.25rem;
	background: var(--bs-gray-200);
	border-radius: 50rem;
	overflow: hidden;
}

.md-sign-progress-fill {
	height: 100%;
	background: var(--bs-gray-900);
	border-radius: 50rem;
	transition: width 400ms var(--bs-transition-ease);
}

.md-sign-card {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	background: #fff;
	border: 1px solid var(--bs-gray-200);
	border-radius: 0.5rem;
}

.md-sign-avatar {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--bs-gray-200);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.88rem;
	color: var(--bs-gray-500);
	flex-shrink: 0;
}

.md-sign-info {
	flex: 1;
	min-width: 0;
}

.md-sign-name {
	font-weight: 600;
	font-size: 0.81rem;
	color: var(--bs-gray-900);
}

.md-sign-email {
	font-size: 0.75rem;
	color: var(--bs-gray-500);
}

.md-sign-status {
	flex-shrink: 0;
}

/* ================================================================
18. DIALOGS / MODALS
================================================================ */
/* Confirm dialog */
.md-dialog {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 1060;
	align-items: center;
	justify-content: center;
	width: 95%;
	max-width: none;
}
.md-dialog.active {
	display: flex;
}
.md-dialog-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
}
.md-dialog-content {
	position: relative;
	z-index: 1;
	margin: 1rem;
}

.md-dialog-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.32);
	z-index: 1050;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--bs-transition-duration) var(--bs-transition-ease);
}

.md-dialog-overlay.active {
	opacity: 1;
	pointer-events: all;
}

.md-dialog {
	background: #fff;
	border-radius: 1rem;
	box-shadow: var(--bs-box-shadow-xl);
	width: 92%;
	max-height: 85vh;
	overflow-y: auto;
	transform: translateY(1.25rem) scale(0.96);
	transition: transform var(--bs-transition-duration) var(--bs-transition-ease);
}

.md-dialog-overlay.active .md-dialog {
	transform: translateY(0) scale(1);
}

.md-dialog-header {
	padding: 1.5rem 1.5rem 0;
}

.md-dialog-title {
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--bs-heading-color);
	margin: 0;
}

.md-dialog-body {
	padding: 1.5rem;
}

.md-dialog-footer {
	display: flex;
	justify-content: flex-end;
	gap: 0.5rem;
	padding: 0.5rem 1.5rem 1.5rem;
}

/* ================================================================
19. SNACKBAR / TOAST
================================================================ */

.md-snackbar {
	position: fixed;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%) translateY(6.25rem);
	background: var(--bs-gray-800);
	color: #fff;
	padding: 0.75rem 1.5rem;
	border-radius: 0.38rem;
	font-size: 0.88rem;
	box-shadow: var(--bs-box-shadow-lg);
	z-index: 1100;
	opacity: 0;
	transition: all 300ms var(--bs-transition-ease);
	display: flex;
	align-items: center;
	gap: 1rem;
}

.md-snackbar.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.md-snackbar .md-snackbar-action {
	color: #fff;
	font-weight: 700;
	font-size: 0.81rem;
	text-transform: uppercase;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0;
	opacity: 0.8;
}

.md-snackbar .md-snackbar-action:hover {
	opacity: 1;
}

/* ================================================================
20. EMPTY STATES
================================================================ */

.md-empty {
	text-align: center;
	padding: 4rem 1.5rem;
}

.md-empty-icon {
	font-size: 3rem;
	color: var(--bs-gray-300);
	margin-bottom: 0.75rem;
}

.md-empty-title {
	font-size: 1rem;
	font-weight: 600;
	color: var(--bs-gray-700);
	margin-bottom: 0.25rem;
}

.md-empty-text {
	font-size: 0.88rem;
	color: var(--bs-gray-500);
	max-width: 24rem;
	margin: 0 auto;
}

/* ================================================================
21. CHIPS / LABELS
================================================================ */

.md-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	height: 1.63rem;
	padding: 0 0.75rem;
	border-radius: 50rem;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.15px;
	border: 1px solid var(--bs-gray-300);
	background: #fff;
	color: var(--bs-gray-700);
	white-space: nowrap;
}

.md-chip-filled {
	background: var(--bs-gray-200);
	border-color: transparent;
	color: var(--bs-gray-800);
}

.md-chip-dark {
	background: var(--bs-gray-800);
	border-color: transparent;
	color: #fff;
}

.md-chip .md-chip-close {
	cursor: pointer;
	margin-left: 0.25rem;
	font-size: 0.88rem;
	opacity: 0.6;
}

.md-chip .md-chip-close:hover {
	opacity: 1;
}

.md-label {
	display: inline-block;
	font-size: 0.69rem;
	font-weight: 600;
	padding: 2px 0.5rem;
	border-radius: 50rem;
	white-space: nowrap;
	margin: 1px 2px;
}

/* ================================================================
22. DIVIDERS
================================================================ */

.md-divider {
	height: 1px;
	background: var(--bs-gray-200);
	margin: 1rem 0;
	border: 0;
}

.md-divider-inset {
	margin-left: 3.5rem;
}

.md-divider-vertical {
	width: 1px;
	height: auto;
	align-self: stretch;
	background: var(--bs-gray-200);
	margin: 0 0.5rem;
}

/* ================================================================
23. TABS
================================================================ */

.md-tabs {
	display: flex;
	border-bottom: 1px solid var(--bs-gray-300);
	overflow-x: auto;
}

.md-tab {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: var(--bs-gray-500);
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
	cursor: pointer;
	transition: all var(--bs-transition-duration) var(--bs-transition-ease);
	white-space: nowrap;
	text-decoration: none;
}

.md-tab:hover {
	color: var(--bs-gray-900);
}

.md-tab.active {
	color: var(--bs-gray-900);
	border-bottom-color: var(--bs-gray-900);
}

/* ================================================================
24. TOOLBAR / SEARCH
================================================================ */

.md-toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 0;
	gap: 1rem;
}

.md-toolbar-title {
	font-size: 1.13rem;
	font-weight: 500;
	color: var(--bs-heading-color);
	margin: 0;
}

.md-toolbar-actions {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.md-search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: #fff;
	border: 1px solid var(--bs-gray-300);
	border-radius: 50rem;
	padding: 0.5rem 1rem;
	transition: border-color var(--bs-transition-duration), box-shadow var(--bs-transition-duration);
}

.md-search:focus-within {
	border-color: var(--bs-gray-800);
	box-shadow: var(--bs-box-shadow-sm);
}

.md-search i {
	color: var(--bs-gray-400);
	font-size: 1rem;
}

.md-search input {
	border: none;
	outline: none;
	font-family: var(--bs-font-sans-serif);
	font-size: 0.88rem;
	color: var(--bs-gray-900);
	background: transparent;
	flex: 1;
	min-width: 0;
}

.md-search input::placeholder {
	color: var(--bs-gray-400);
}

/* ================================================================
26. SIDEBAR (content area, not sidenav)
================================================================ */

.md-sidebar {
	/* background: #fff;
	border: 1px solid var(--bs-gray-200);
	border-radius: 0.75rem;
	padding: 1.5rem; */
	margin-top: 1rem;
}

.md-sidebar-section {
	margin-bottom: 1.5rem;
}

.md-sidebar-section:last-child {
	margin-bottom: 0;
}

.md-sidebar-title {
	font-size: 0.69rem;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--bs-gray-500);
	margin-bottom: 0.75rem;
}

/* ================================================================
27. SECTOR TREE
================================================================ */

.md-tree {
	list-style: none;
	padding: 0;
	margin: 0;
}

.md-tree ul {
	list-style: none;
	padding-left: 1.5rem;
	margin: 0;
}

.md-tree-item {
	padding: 0.5rem 0;
}

.md-tree-label {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.88rem;
	font-weight: 500;
	color: var(--bs-gray-900);
}

.md-tree-acronym {
	font-size: 0.69rem;
	font-weight: 600;
	color: var(--bs-gray-500);
	background: var(--bs-gray-100);
	padding: 2px 0.38rem;
	border-radius: 0.25rem;
}

/* ================================================================
28. NOTIFICATIONS
================================================================ */

.md-notification {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid var(--bs-gray-100);
	transition: background var(--bs-transition-duration) var(--bs-transition-ease);
	cursor: pointer;
}

.md-notification:hover {
	background: var(--bs-gray-100);
}

.md-notification.unread {
	background: var(--bs-gray-100);
}

.md-notification.unread .md-notification-title {
	font-weight: 700;
}

.md-notification-icon {
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--bs-gray-200);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	color: var(--bs-gray-600);
	font-size: 0.88rem;
}

.md-notification-body {
	flex: 1;
	min-width: 0;
}

.md-notification-title {
	font-size: 0.81rem;
	font-weight: 500;
	color: var(--bs-gray-900);
}

.md-notification-text {
	font-size: 0.81rem;
	color: var(--bs-gray-500);
	margin-top: 2px;
}

.md-notification-time {
	font-size: 0.69rem;
	color: var(--bs-gray-400);
	flex-shrink: 0;
	white-space: nowrap;
}

/* ================================================================
29. VALIDATION PORTAL
================================================================ */

.md-validate {
	max-width: 30rem;
	margin: 4rem auto;
	text-align: center;
}

.md-validate-result {
	margin-top: 1.5rem;
	padding: 2rem;
	background: #fff;
	border-radius: 0.75rem;
	box-shadow: var(--bs-box-shadow);
}

.md-validate-icon {
	font-size: 3rem;
	margin-bottom: 0.75rem;
}

.md-validate-icon.valid {
	color: var(--bs-gray-900);
}

.md-validate-icon.invalid {
	color: var(--bs-gray-400);
}

/* ================================================================
30. CONTRACT BADGE
================================================================ */

.md-contract-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-size: 0.69rem;
	font-weight: 700;
	padding: 2px 0.5rem;
	border-radius: 0.25rem;
	background-image: var(--bs-gradient-dark);
	color: #fff;
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

/* ================================================================
30b. STAT CARD — Dashboard stat cards
================================================================ */

.stat-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.5rem;
}

.stat-card-icon {
	width: 3rem;
	height: 3rem;
	border-radius: 0.75rem;
	background: linear-gradient(195deg, #42424a, #191919);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	box-shadow: 0 0.25rem 0.38rem -1px rgba(0, 0, 0, 0.1);
	flex-shrink: 0;
}

.stat-card-info {
	flex: 1;
	min-width: 0;
}

.stat-card-value {
	font-size: 1.5rem;
	font-weight: 700;
	color: #262626;
	line-height: 1.2;
}

.stat-card-label {
	font-size: 0.88rem;
	color: #737373;
	font-weight: 400;
}

/* ================================================================
30c. STATUS OVERVIEW — Dashboard status breakdown
================================================================ */

.status-overview {
	padding: 1rem 0;
}

/* ================================================================
30d. FOOTER
================================================================ */

.footer {
	padding: 1rem 0;
	margin-top: 2rem;
}

.footer .nav-link {
	color: var(--bs-gray-800);
	font-weight: 400;
	font-size: 0.88rem;
	padding-top: 0;
	padding-bottom: 0.25rem;
}

.footer .nav-link:hover {
	opacity: 1 !important;
	transition: opacity 0.3s ease;
}

.footer .footer-logo {
	max-width: 2rem;
}

/* ================================================================
31. FAB (Floating Action Button)
================================================================ */

.md-fab {
	position: fixed;
	bottom: 1rem;
	right: 1rem;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	background-image: var(--bs-gradient-dark);
	color: #fff;
	border: none;
	box-shadow: var(--bs-box-shadow-lg);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	z-index: 100;
	transition: all var(--bs-transition-duration) var(--bs-transition-ease);
}

.md-fab:hover {
	box-shadow: var(--bs-box-shadow-xl);
	transform: scale(1.05);
}

/* ================================================================
32. DRAG & DROP
================================================================ */

.md-draggable {
	cursor: grab;
}

.md-draggable:active {
	cursor: grabbing;
}

.md-drag-handle {
	color: var(--bs-gray-400);
	cursor: grab;
	padding: 0.25rem;
}

.md-drag-handle:hover {
	color: var(--bs-gray-600);
}

.md-drag-placeholder {
	border: 2px dashed var(--bs-gray-300);
	background: var(--bs-gray-100);
	border-radius: 0.5rem;
	min-height: 3rem;
}

/* ================================================================
33. GRADIENTS — Utility classes
================================================================ */

.bg-gradient-dark {
	background-image: linear-gradient(195deg, var(--primaryColor) 0%, #191919 100%);
}

.bg-gradient-secondary {
	background-image: linear-gradient(195deg, var(--secondaryColor) 0%, #495361 100%);
}

.bg-gradient-light {
	background-image: linear-gradient(195deg, #ebeff4 0%, #ced4da 100%);
}

.bg-gradient-success {
	background-image: linear-gradient(195deg, #66BB6A 0%, #43A047 100%);
}

.bg-gradient-info {
	background-image: linear-gradient(195deg, #49a3f1 0%, #1A73E8 100%);
}

.bg-gradient-warning {
	background-image: linear-gradient(195deg, #FFA726 0%, #FB8C00 100%);
}

.bg-gradient-danger {
	background-image: linear-gradient(195deg, #EF5350 0%, #E53935 100%);
}

/* ================================================================
34. SHADOWS — Utility classes
================================================================ */

.shadow-none {
	box-shadow: none !important;
}

.shadow-sm {
	box-shadow: var(--bs-box-shadow-sm) !important;
}

.shadow {
	box-shadow: var(--bs-box-shadow) !important;
}

.shadow-lg {
	box-shadow: var(--bs-box-shadow-lg) !important;
}

.shadow-xl {
	box-shadow: var(--bs-box-shadow-xl) !important;
}

.shadow-blur {
	box-shadow: var(--bs-box-shadow-blur) !important;
}

.shadow {
	box-shadow: 0 0.25rem 0.38rem -1px rgba(0, 0, 0, .1), 0 2px 0.25rem -1px rgba(0, 0, 0, .06) !important;
}

.shadow-sm {
	box-shadow: 0 0.31rem 0.63rem 0 rgba(0, 0, 0, .12) !important;
}

.shadow-lg {
	box-shadow: 0 0.63rem 0.94rem -0.19rem rgba(0, 0, 0, .1), 0 0.25rem 0.38rem -2px rgba(0, 0, 0, .05) !important;
}

.shadow-xl {
	box-shadow: 0 1.25rem 1.56rem -0.31rem rgba(0, 0, 0, .1), 0 0.63rem 0.63rem -0.31rem rgba(0, 0, 0, .04) !important;
}

.shadow-none {
	box-shadow: none !important
}

.shadow-primary {
	box-shadow: 0 0.25rem 1.25rem 0 rgba(0, 0, 0, .14), 0 0.44rem 0.63rem -0.31rem rgba(233, 30, 99, .4) !important;
}

.shadow-secondary {
	box-shadow: 0 0.25rem 1.25rem 0 rgba(0, 0, 0, .14), 0 0.44rem 0.63rem -0.31rem hsla(0, 0%, 82%, .4) !important;
}

.shadow-info {
	box-shadow: 0 0.25rem 1.25rem 0 rgba(0, 0, 0, .14), 0 0.44rem 0.63rem -0.31rem rgba(0, 188, 212, .4) !important;
}

.shadow-warning {
	box-shadow: 0 0.25rem 1.25rem 0 rgba(0, 0, 0, .14), 0 0.44rem 0.63rem -0.31rem rgba(255, 152, 0, .4) !important;
}

.shadow-success {
	box-shadow: 0 0.25rem 1.25rem 0 rgba(0, 0, 0, .14), 0 0.44rem 0.63rem -0.31rem rgba(76, 175, 80, .4) !important;
}

.shadow-danger {
	box-shadow: 0 0.25rem 1.25rem 0 rgba(0, 0, 0, .14), 0 0.44rem 0.63rem -0.31rem rgba(244, 67, 54, .4) !important;
}

.shadow-dark {
	box-shadow: 0 0.25rem 1.25rem 0 rgba(0, 0, 0, .14), 0 0.44rem 0.63rem -0.31rem rgba(64, 64, 64, .4) !important;
}

.shadow-light {
	box-shadow: 0 0.25rem 1.25rem 0 rgba(0, 0, 0, .14), 0 0.44rem 0.63rem -0.31rem rgba(233, 30, 99, .4) !important;
}

/* ================================================================
35. BORDER RADIUS — Utility classes
================================================================ */

.border-radius-xs {
	border-radius: 0.13rem !important;
}

.border-radius-sm {
	border-radius: 0.25rem !important;
}

.border-radius-md {
	border-radius: 0.5rem !important;
}

.border-radius-lg {
	border-radius: 0.75rem !important;
}

.border-radius-xl {
	border-radius: 1rem !important;
}

.border-radius-2xl {
	border-radius: 1.5rem !important;
}

.border-radius-section {
	border-radius: 10rem !important;
}

/* ================================================================
36. OPACITY — Utility classes
================================================================ */

.opacity-1 {
	opacity: 0.1 !important;
}

.opacity-2 {
	opacity: 0.2 !important;
}

.opacity-3 {
	opacity: 0.3 !important;
}

.opacity-4 {
	opacity: 0.4 !important;
}

.opacity-5 {
	opacity: 0.5 !important;
}

.opacity-6 {
	opacity: 0.6 !important;
}

.opacity-7 {
	opacity: 0.7 !important;
}

.opacity-8 {
	opacity: 0.8 !important;
}

.opacity-9 {
	opacity: 0.9 !important;
}

.opacity-10 {
	opacity: 1 !important;
}

/* ================================================================
37. MISC UTILITIES
================================================================ */

.cursor-pointer {
	cursor: pointer !important;
}

.max-height-vh-100 {
	max-height: 100vh !important;
}

.max-height-vh-70 {
	max-height: 70vh !important;
}

.max-height-vh-50 {
	max-height: 50vh !important;
}

.overflow-hidden {
	overflow: hidden !important;
}

.overflow-auto {
	overflow: auto !important;
}

.overflow-scroll {
	overflow: scroll !important;
}

.z-index-sticky {
	z-index: 1020 !important;
}

/* Background utilities */
.bg-white {
	background-color: #fff !important;
}

.bg-gray-100 {
	background-color: var(--bs-gray-100) !important;
}

.bg-gray-200 {
	background-color: var(--bs-gray-200) !important;
}

.bg-gray-300 {
	background-color: var(--bs-gray-300) !important;
}

.bg-gray-400 {
	background-color: var(--bs-gray-400) !important;
}

.bg-gray-500 {
	background-color: var(--bs-gray-500) !important;
}

.bg-gray-600 {
	background-color: var(--bs-gray-600) !important;
}

.bg-gray-700 {
	background-color: var(--bs-gray-700) !important;
}

.bg-gray-800 {
	background-color: var(--bs-gray-800) !important;
}

.bg-gray-900 {
	background-color: var(--bs-gray-900) !important;
}

.bg-transparent {
	background-color: transparent !important;
}

/* Text color utilities */
.text-white {
	color: #fff !important;
}

.text-dark {
	color: var(--bs-gray-800) !important;
}

.text-secondary {
	color: var(--bs-gray-500) !important;
}

.text-muted {
	color: var(--bs-gray-400) !important;
}

.text-body {
	color: var(--bs-body-color) !important;
}

/* ================================================================
37b. EXTENDED SPACING UTILITIES
================================================================ */

.py-6 {
	padding-top: 4rem !important;
	padding-bottom: 4rem !important;
}

.py-7 {
	padding-top: 6rem !important;
	padding-bottom: 6rem !important;
}

.pt-6 {
	padding-top: 4rem !important;
}

.pt-7 {
	padding-top: 6rem !important;
}

.pb-6 {
	padding-bottom: 4rem !important;
}

.pb-7 {
	padding-bottom: 6rem !important;
}

/* ================================================================
38. RESPONSIVE
================================================================ */

/* Main content offset for sidenav */
.main-content {
	position: relative;
	margin-left: 0.7rem;
	margin-right: 0.7rem;
	min-height: 100vh;
	width: calc(100% - 1.4rem);
}

/* Sidenav off-canvas (mobile) — visível a partir de desktop via min-width:1200 */
.sidenav.show {
	transform: translateX(0);
}

/* Backdrop do sidenav mobile */
.sidenav-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.32);
	z-index: 1029;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s;
}
.sidenav-backdrop.show {
	opacity: 1;
	pointer-events: all;
}

/* Padding base do preview de documento (mobile-first) */
.md-doc-preview {
	padding: 1.5rem;
}

/* >= 576px (sm) */
@media (min-width: 576px) {
	.md-tab {
		padding: 0.75rem 1.5rem;
		font-size: 0.81rem;
	}

	.md-process-item {
		flex-direction: row;
		gap: 1rem;
	}
}

/* >= 768px (md) */
@media (min-width: 768px) {
	.md-toolbar {
		flex-wrap: nowrap;
	}

	.md-toolbar-title {
		font-size: 1.25rem;
	}

	.md-sidebar {
		margin-top: 0;
	}

	.md-dialog {
		width: auto;
	}

	.md-fab {
		bottom: 2rem;
		right: 2rem;
		width: 3.5rem;
		height: 3.5rem;
	}

	.navbar-main {
		margin: 0;
	}
}

/* >= 1200px (xl) — sidenav fixo + conteúdo deslocado */
@media (min-width: 1200px) {
	.sidenav {
		transform: none;
	}

	.main-content {
		margin-left: 18rem;
		margin-right: 0;
		width: calc(100% - 19.5rem);
	}
}

.dashboard-head{
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
}

.dashboard-title{
	display: block;
	margin:0 0 1.5rem 0;
}
.dashboard-title h3{
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--primaryColor);
	margin: 0 0 0.5rem 0;
	padding:0;
}
.dashboard-title p{
	font-size: 0.88rem;
	color: var(--bs-gray-500);
	margin:0;
}

.nav-tabs .nav-link{
	border-bottom:none;
}

/* ================================================================
39. PRINT
================================================================ */

@media print {
	body {
		background: white !important;
	}

	.sidenav,
	.navbar,
	.md-toolbar-actions,
	.md-fab,
	.md-sidebar,
	.md-tabs,
	.md-search,
	.btn,
	.md-dialog-overlay,
	.md-snackbar,
	.sidenav-backdrop {
		display: none !important;
	}

	.main-content {
		margin-left: 0 !important;
	}

	.card,
	.md-surface {
		box-shadow: none !important;
		border: 1px solid #ddd;
	}

	.md-editor-toolbar {
		display: none !important;
	}

	.md-editor-content {
		border: none;
	}

	a {
		color: inherit;
	}

	.badge {
		border: 1px solid #999;
	}
}

/* ============================================
   SPACERS
   ============================================ */
.spacer-0-5,.spacer-1,.spacer-1-5,.spacer-2,.spacer-2-5,.spacer-3,.spacer-3-5,.spacer-4,.spacer-5,.spacer-6,.spacer-7,.spacer-8,.spacer-9{ display:block; position:relative; width:100%; margin:0; padding:0; }
.spacer-0-5{ height:0.5rem; }
.spacer-1{ height:1rem; }
.spacer-1-5{ height:1.5rem; }
.spacer-2{ height:2rem; }
.spacer-2-5{ height:2.5rem; }
.spacer-3{ height:3rem; }
.spacer-3-5{ height:3.5rem; }
.spacer-4{ height:4rem; }
.spacer-5{ height:5rem; }
.spacer-6{ height:6rem; }
.spacer-7{ height:7rem; }
.spacer-8{ height:8rem; }
.spacer-9{ height:9rem; }

.desktop{ display:none; }
.mobile{ display:block; }
.desktop-td{ display:none; }
.mobile-td{ display:table-cell; }
@media screen and (min-width:768px){
	.desktop{ display:block; }
	.mobile{ display:none; }
	.desktop-td{ display:table-cell; }
	.mobile-td{ display:none; }
}


.dropdown-tester{
	position: relative;
	background: var(--bs-gray-100);
	border: 1px solid var(--bs-gray-300);
	border-radius: 0.25rem;
	margin: 1rem;
	padding: 0.5rem;
	box-shadow: var(--bs-box-shadow-sm);
}

.main-content .media-add-base.contain {
  background-size: 85%;
}