html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	background-color: #0b0e14;
	background-image: radial-gradient(ellipse at top, #1a2130 0%, #0b0e14 60%);
	background-attachment: fixed;
	font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

#header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 90px;
	background: linear-gradient(135deg, #141b2d 0%, #1f2a45 55%, #0f1626 100%);
	border-bottom: 1px solid #2b3a55;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
}

#header::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 2px;
	background: linear-gradient(90deg, transparent, #4d7cff 30%, #7c5cff 70%, transparent);
	opacity: 0.8;
}

#header h1 {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #e8eefc;
	text-shadow: 0 0 18px rgba(77, 124, 255, 0.55), 0 2px 4px rgba(0,0,0,0.6);
}

#header h1 b {
	background: linear-gradient(90deg, #6ea8ff, #b48cff);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.x-window {
	border-radius: 8px !important;
}

.x-window-header {
	border-radius: 8px 8px 0 0 !important;
}

.linkarchivo {
	color: #8fb4ff;
	text-decoration: none;
	font-weight: 500;
}
.linkarchivo:hover {
	color: #c3d4ff;
	text-decoration: underline;
}

.x-panel-body {
	font-family: 'Segoe UI', Tahoma, Arial, sans-serif;
}

.inicio-flags {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 12px 14px 14px;
}
.inicio-flags-label {
	color: #c7d2ee;
	font-size: 13px;
	margin-right: 4px;
}
.inicio-flag {
	display: inline-block;
	padding: 3px;
	border-radius: 4px;
	border: 2px solid transparent;
	opacity: 0.75;
	transition: opacity 0.15s, border-color 0.15s;
}
.inicio-flag:hover {
	opacity: 1;
	border-color: #4d7cff;
}
.inicio-flag img {
	display: block;
	height: 22px;
	border-radius: 2px;
}
.inicio-flag-active {
	opacity: 1;
	border-color: #7c5cff;
}
