/* Estiliza a barra de rolagem (scrollbar) */
::-webkit-scrollbar {
	width: 6px; /* Largura da barra de rolagem */
	height: 6px; /* Altura, para rolagem horizontal */
}

/* Estiliza o rastro (track) da barra de rolagem */
::-webkit-scrollbar-track {
	background: transparent; /* Cor de fundo do rastro */
}

/* Estiliza o manipulador (thumb) da barra de rolagem */
::-webkit-scrollbar-thumb {
	background-color: rgba(0, 123, 255, 0.5); /* Cor azul com transparência */
	border-radius: 3px; /* Bordas arredondadas */
}

/* Estiliza o estado de hover do manipulador (thumb) */
::-webkit-scrollbar-thumb:hover {
	background-color: rgba(0, 123, 255, 0.7); /* Cor azul um pouco menos transparente no hover */
}

/* Melhorias no Menu Lateral */
.sidebar-header {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: rgba(255, 255, 255, 0.5);
	padding: 1rem 1.5rem 0.5rem;
	margin-top: 0.5rem;
}

.sidebar-link {
	transition: all 0.2s ease;
	border-radius: 6px;
	margin: 0.2rem 0.5rem;
	padding: 0.75rem 1rem;
}

.sidebar-link:hover {
	background: rgba(255, 255, 255, 0.1);
	transform: translateX(4px);
}

.sidebar-item.active > .sidebar-link {
	background: linear-gradient(135deg, rgba(13, 110, 253, 0.2), rgba(13, 110, 253, 0.1));
	border-left: 3px solid #0d6efd;
	padding-left: calc(1rem - 3px);
}

.sidebar-link i {
	width: 18px;
	height: 18px;
	margin-right: 0.75rem;
}

.sidebar-link-arrow {
	margin-left: auto;
	transition: transform 0.2s ease;
}

.sidebar-item:not(.collapsed) .sidebar-link-arrow {
	transform: rotate(90deg);
}

.sidebar-dropdown .sidebar-link {
	padding-left: 2.5rem;
	font-size: 0.9rem;
}

.sidebar-dropdown .sidebar-link i {
	width: 16px;
	height: 16px;
}

.sidebar-brand {
	padding: 1.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	margin-bottom: 1rem;
	transition: all 0.3s ease;
}

.sidebar-brand:hover {
	background: rgba(255, 255, 255, 0.05);
	border-radius: 8px;
}

.sidebar-brand-text {
	font-size: 1.25rem;
	font-weight: 700;
	background: linear-gradient(135deg, #ffffff, #e0e0e0);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.sidebar-brand .badge {
	font-size: 0.6rem;
	padding: 0.2rem 0.4rem;
	background: linear-gradient(135deg, #0d6efd, #0056b3);
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-brand-logo {
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.1);
	padding: 4px;
	transition: all 0.3s ease;
}

.sidebar-brand-logo:hover {
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.05);
}

#sidebar-logo-container {
	flex-shrink: 0;
}