.pageTitle.modern-title {
	border-bottom: none !important;
	color: #ffffff !important;
	font-family: 'Source Sans Pro', -apple-system, sans-serif;
	font-size: 28px;
	font-weight: 700;
	letter-spacing: -0.02em;
	text-transform: none;
	margin-bottom: 25px;
	padding-bottom: 12px;
	position: relative;
	background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	display: inline-block;
}

.pageTitle.modern-title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 0;
	width: 50px;
	height: 3px;
	background: linear-gradient(90deg, #a855f7, #c084fc);
	border-radius: 3px;
}

.organigrama-workspace {
	display: flex;
	gap: 24px;
	margin-top: 20px;
}

@media (max-width: 992px) {
	.organigrama-workspace {
		flex-direction: column;
	}
}

.organigrama-board {
	flex: 2.3;
	background: #111827;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
}

.board-header {
	background: #1f2937;
	padding: 14px 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.board-title {
	margin: 0;
	font-family: 'Source Sans Pro', -apple-system, sans-serif;
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
	display: flex;
	align-items: center;
	gap: 10px;
}

.board-badge {
	background: rgba(168, 85, 247, 0.15);
	border: 1px solid rgba(168, 85, 247, 0.3);
	color: #c084fc;
	font-size: 10px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.board-controls {
	display: flex;
	gap: 8px;
	align-items: center;
}

.control-btn {
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #cbd5e1;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	font-size: 13px;
	outline: none;
}

.control-btn:hover {
	background: rgba(168, 85, 247, 0.2);
	border-color: rgba(168, 85, 247, 0.4);
	color: #ffffff;
	transform: translateY(-1px);
}

.control-btn:active {
	transform: translateY(0);
}

.control-btn.btn-reset {
	width: auto;
	padding: 0 14px;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.board-viewport {
	height: 540px;
	position: relative;
	overflow: hidden;
	background-color: #0f172a;
	background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
	background-size: 24px 24px;
	cursor: grab;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: background-color 0.3s ease;
}

.board-viewport:active {
	cursor: grabbing;
}

.board-canvas {
	position: absolute;
	transform-origin: center center;
	transition: transform 0.05s ease-out;
	user-select: none;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 80%;
	height: 80%;
}

.board-canvas img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	display: block;
	border-radius: 12px;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
	border: 1px solid rgba(255, 255, 255, 0.1);
	pointer-events: none;
	background-color: #ffffff;
}

.zoom-hud {
	position: absolute;
	bottom: 20px;
	left: 20px;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #e2e8f0;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 11.5px;
	font-weight: 600;
	pointer-events: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.viewport-tip {
	position: absolute;
	bottom: 20px;
	right: 20px;
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #94a3b8;
	padding: 6px 14px;
	border-radius: 20px;
	font-size: 11px;
	pointer-events: none;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
	display: flex;
	align-items: center;
	gap: 6px;
}

.board-viewport:fullscreen {
	height: 100vh !important;
	width: 100vw !important;
	background-color: #090d16;
}

.organigrama-side-panel {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.side-info-card {
	background: #1e293b;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	padding: 24px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
	display: flex;
	flex-direction: column;
}

.side-info-header {
	font-family: 'Source Sans Pro', -apple-system, sans-serif;
	font-size: 16px;
	font-weight: 700;
	color: #ffffff;
	margin-top: 0;
	margin-bottom: 20px;
	padding-bottom: 10px;
	border-bottom: 1.5px solid rgba(255, 255, 255, 0.05);
	position: relative;
}

.side-info-header::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -1.5px;
	width: 40px;
	height: 2.5px;
	background: linear-gradient(90deg, #a855f7, #c084fc);
	border-radius: 2px;
}

.side-info-image-wrapper {
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.05);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
	margin-bottom: 18px;
}

.side-info-image {
	width: 100%;
	height: auto;
	display: block;
	filter: grayscale(10%);
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
	            filter 0.4s ease;
}

.side-info-image-wrapper:hover .side-info-image {
	transform: scale(1.04);
	filter: grayscale(0);
}

.side-info-desc {
	font-size: 13.5px;
	line-height: 1.6;
	color: #cbd5e1;
	margin: 0;
	font-style: italic;
	position: relative;
	padding-left: 15px;
	border-left: 3px solid #a855f7;
}

.chart-empty-alert {
	background: rgba(168, 85, 247, 0.08);
	border: 1px solid rgba(168, 85, 247, 0.2);
	color: #cbd5e1;
	border-radius: 12px;
	padding: 24px;
	margin-top: 15px;
	text-align: center;
}

.chart-empty-alert h4 {
	color: #c084fc;
	margin-bottom: 8px;
}

.theme-light .pageTitle.modern-title {
	background: none !important;
	-webkit-text-fill-color: initial !important;
	color: #0f172a !important;
}

.theme-light .organigrama-board {
	background: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05) !important;
}

.theme-light .board-header {
	background: #f8fafc !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.theme-light .board-title {
	color: #0f172a !important;
}

.theme-light .board-badge {
	background: rgba(168, 85, 247, 0.08) !important;
	border-color: rgba(168, 85, 247, 0.25) !important;
	color: #a855f7 !important;
}

.theme-light .control-btn {
	background: #ffffff !important;
	border: 1px solid #cbd5e1 !important;
	color: #475569 !important;
}

.theme-light .control-btn:hover {
	background: rgba(168, 85, 247, 0.05) !important;
	border-color: rgba(168, 85, 247, 0.35) !important;
	color: #a855f7 !important;
}

.theme-light .board-viewport {
	background-color: #f1f5f9 !important;
	background-image: radial-gradient(rgba(0, 0, 0, 0.08) 1px, transparent 1px) !important;
}

.theme-light .board-canvas img {
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08) !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.theme-light .zoom-hud,
.theme-light .viewport-tip {
	background: rgba(255, 255, 255, 0.85) !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	color: #475569 !important;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.theme-light .side-info-card {
	background: #ffffff !important;
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04) !important;
}

.theme-light .side-info-header {
	color: #0f172a !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.theme-light .side-info-image-wrapper {
	border: 1px solid rgba(0, 0, 0, 0.08) !important;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05) !important;
}

.theme-light .side-info-desc {
	color: #475569 !important;
}

.theme-light .chart-empty-alert {
	background: rgba(168, 85, 247, 0.05) !important;
	border-color: rgba(168, 85, 247, 0.15) !important;
	color: #6b21a8 !important;
}

.theme-light .chart-empty-alert h4 {
	color: #9333ea !important;
}

