html, body {
	height: 100%;
	margin: 0;
	display: flex;
	flex-direction: column;
}
.header {
	background-color: #000;
	color: #fff;
	padding: 10px 20px;
	display: flex;
	align-items: center;
	height: 70px;
	flex-shrink: 0;
	z-index: 1100;
}
.header img {
	height: 50px;
}
.header .title-container {
	flex-grow: 1;
	text-align: center;
}
.bg-light-gray {
	background-color: #e9ecef;
}
.card-custom {
	border: none;
	box-shadow: 0 8px 16px rgba(0,0,0,0.25);
	transition: transform 0.2s ease-in-out;
	cursor: pointer;
}
.card-custom:hover {
	transform: translateY(-10px);
}
.fade-in {
	animation: fadeIn 1s ease-in-out;
}
@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to   { opacity: 1; transform: translateY(0); }
}
.login-modal-header {
	background-color: #000;
	color: #fff;
	border-bottom: none;
	text-align: center;
}
.login-modal-header .modal-title {
	width: 100%;
}
.main-content-wrapper {
	display: flex;
	flex: 1;
	overflow: auto;
}
.sidebar {
	width: 250px;
	background-color: #dc3545;
	color: white;
	padding-top: 1rem;
	transition: all 0.3s ease;
	position: sticky;
	top: 0;
	height: calc(100vh - 70px);
	overflow-y: auto;
	flex-shrink: 0;
	box-shadow: 5px 0 15px rgba(0,0,0,0.3);
	z-index: 1050;
}
.sidebar.collapsed {
	width: 60px;
	padding: 1rem 0;
}
.sidebar.collapsed .sidebar-content {
	display: none;
}
.content {
	flex-grow: 1;
	padding: 20px;
	transition: margin-left 0.3s ease;
}
.footer {
	background-color: #212529;
	color: white;
	padding: 20px;
	text-align: center;
	flex-shrink: 0;
	height: 60px;
}
.nav-link:hover {
	background-color: rgba(255, 255, 255, 0.2);
	border-radius: 5px;
}
.nav-link.active {
	background-color: rgba(255, 255, 255, 0.3);
	border-radius: 5px;
}
.toggle-icon {
	cursor: pointer;
	padding: 0 1rem;
}
.sidebar.collapsed .toggle-icon {
	padding: 0;
}

/* Estilos responsivos */
@media (max-width: 768px) {
	.header h1 {
		font-size: 1.5rem;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.header h1 .system-name {
		display: none;
	}
	.sidebar {
		position: fixed;
		top: 70px;
		height: calc(100vh - 130px);
		left: -250px;
		z-index: 1050;
		padding-top: 20px;
	}
	.sidebar.show {
		left: 0;
	}
	.overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0, 0, 0, 0.5);
		z-index: 1040;
		display: none;
	}
}
.close-sidebar {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 1.5rem;
	cursor: pointer;
	color: white;
	display: none;
}
@media (max-width: 768px) {
	.close-sidebar {
		display: block;
	}
}