/* Scroll para tablas resumen en panel */
.scroll-table-container {
	max-width: 100%;
	overflow-x: auto;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #b0bec5 #f5f7fa;
	border-radius: 10px;
}

.scroll-table-container::-webkit-scrollbar {
	height: 8px;
	width: 8px;
	background: #f5f7fa;
	border-radius: 8px;
}
.scroll-table-container::-webkit-scrollbar-thumb {
	background: #b0bec5;
	border-radius: 8px;
}
/* Mejora visual menú lateral */
aside {
	background: linear-gradient(120deg, #232b4d 70%, #3a3f5c 100%);
	border-radius: 18px;
	padding: 0 0 24px 0;
	box-shadow: 0 4px 24px #0002;
}
.menu-principal-titulo, .menu-principal-titulo * {
	color: #fff !important;
	text-shadow: 0 2px 8px #0006;
}
aside nav ul {
	flex-direction: column;
	gap: 10px;
	padding: 0 0 0 0;
}
aside nav ul li {
	margin: 0;
}
aside nav ul li a {
	display: flex;
	align-items: center;
	gap: 8px;
	background: none;
	color: #232b4d;
	font-size: 1.08rem;
	font-weight: 600;
	border-radius: 10px;
	padding: 8px 18px;
	transition: background 0.18s, color 0.18s, box-shadow 0.18s;
	text-shadow: 0 2px 8px #fff, 0 1px 0 #0002;
	opacity: 0.92;
}
aside nav ul li a:hover, aside nav ul li a:focus {
	background: #3949ab;
	color: #fff;
	box-shadow: 0 2px 12px #3949ab55;
}
aside nav ul li a.active, aside nav ul li.active > a {
	background: linear-gradient(180deg, #1a237e 0%, #3949ab 100%);
	color: #fff !important;
	text-shadow: 0 2px 8px #0008;
	opacity: 1;
	box-shadow: 0 2px 12px #1a237e55;
	position: relative;
	z-index: 1;
}
aside nav ul li.active {
	position: relative;
}
aside nav ul li.active::before {
	content: '';
	position: absolute;
	left: 0; right: 0; top: 0; bottom: 0;
	background: linear-gradient(180deg, #1a237e 0%, #3949ab 100%);
	border-radius: 12px;
	z-index: 0;
}
aside nav ul li.active > a {
	position: relative;
	z-index: 1;
}
aside nav ul li {
	filter: none;
}
aside nav ul li.disabled, aside nav ul li.disabled a {
	color: #b0b3c6 !important;
	filter: grayscale(0.5) opacity(0.7);
	pointer-events: none;
}
/* Estilo moderno para todas las tablas principales */
/* Estilo moderno y organizado para todas las tablas principales */
.styled-table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	margin-bottom: 30px;
	background: #fff;
	box-shadow: 0 4px 24px #0001;
	border-radius: 14px;
	overflow: hidden;
	border: 1.5px solid #c5cae9;
}
.styled-table th, .styled-table td {
	padding: 6px 10px;
	text-align: left;
	border-bottom: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
}
.styled-table th:last-child, .styled-table td:last-child {
	border-right: none;
}
.styled-table th {
	background: #e3e6f3;
	color: #1a237e;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 1px;
	border-top: none;
}
.styled-table tr:last-child td {
	border-bottom: none;
}
.styled-table tr:nth-child(even) td {
	background: #f5f7fa;
}
.styled-table tr:hover td {
	background: #e8eaf6;
	transition: background 0.2s;
}
@media (max-width: 900px) {
	.styled-table { font-size: 14px; }
	.styled-table th, .styled-table td { padding: 4px 2px; }
}
body {
	font-family: 'Segoe UI', Arial, sans-serif;
	background: linear-gradient(120deg, #f8fafc 0%, #e0e7ef 100%);
	margin: 0;
	color: #222;
}
h2, h3 {
	color: #1a237e;
	margin-top: 30px;
	letter-spacing: 1px;
	text-shadow: 0 2px 8px #b3c6ff33;
}
nav {
	background: linear-gradient(90deg, #1a237e 60%, #3949ab 100%);
	padding: 0;
	margin-bottom: 30px;
	box-shadow: 0 2px 8px #0001;
	border-bottom-left-radius: 18px;
	border-bottom-right-radius: 18px;
}
nav ul {
	display: flex;
	gap: 20px;
	padding: 0 30px;
	margin: 0;
	list-style: none;
	height: 56px;
	align-items: center;
}
nav a {
	color: #fff;
	text-decoration: none;
	font-weight: 500;
	font-size: 17px;
	transition: color 0.2s, text-shadow 0.2s;
	text-shadow: 0 2px 8px #0002;
}
nav a:hover {
	color: #ffb300;
	text-shadow: 0 2px 8px #ffecb3;
}
form, .form-box {
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 4px 24px #0002;
	padding: 28px 36px 24px 36px;
	margin: 30px auto 30px auto;
	max-width: 440px;
	border: 1.5px solid #e3e6f3;
}
input, select, button, textarea {
	font-size: 16px;
	border-radius: 8px;
	border: 1.5px solid #bdbdbd;
	padding: 10px 12px;
	margin-bottom: 14px;
	width: 100%;
	box-sizing: border-box;
	outline: none;
	transition: border 0.2s, box-shadow 0.2s;
}
input:focus, select:focus, textarea:focus {
	border: 2px solid #3949ab;
	box-shadow: 0 2px 8px #b3c6ff44;
}
button {
	background: linear-gradient(90deg, #1a237e 60%, #3949ab 100%);
	color: #fff;
	border: none;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 2px 8px #0001;
	transition: background 0.2s, transform 0.1s;
	margin-top: 8px;
	letter-spacing: 1px;
}
button:hover {
	background: linear-gradient(90deg, #3949ab 60%, #1a237e 100%);
	transform: translateY(-2px) scale(1.04);
	box-shadow: 0 4px 16px #b3c6ff44;
}
table {
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 30px;
	background: #fff;
	box-shadow: 0 4px 24px #0001;
	border-radius: 14px;
	overflow: hidden;
}
th, td {
	padding: 14px 12px;
	text-align: left;
	border-bottom: 1px solid #e0e0e0;
}
th {
	background: #e3e6f3;
	color: #1a237e;
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 1px;
}
tr:nth-child(even) td {
	background: #f5f7fa;
}
tr:hover td {
	background: #e8eaf6;
	transition: background 0.2s;
}
::-webkit-scrollbar {
	width: 10px;
	background: #e3e6f3;
}
::-webkit-scrollbar-thumb {
	background: #b0bec5;
	border-radius: 6px;
}
a {
	color: #512da8;
	text-decoration: underline;
	transition: color 0.2s;
}
a:hover {
	color: #ffb300;
}
@media (max-width: 900px) {
	nav ul { flex-wrap: wrap; gap: 10px; padding: 0 10px; }
	form, .form-box { max-width: 98vw; padding: 16px 8px; }
	table { font-size: 14px; }
	th, td { padding: 8px 4px; }
}