/* Font Size Manager Styles */

/* Default base font size - 14px */
p,
li,
a,
span,
.info-text,
.text-content,
.description,
.body-text {
	font-size: 14px;
}

/* Heading tags - proportional scaling based on 14px base */
h1 {
	font-size: 32px;
	/* ~2.29x base */
}

h2 {
	font-size: 28px;
	/* ~2x base */
}

h3 {
	font-size: 24px;
	/* ~1.71x base */
}

h4 {
	font-size: 20px;
	/* ~1.43x base */
}

h5 {
	font-size: 17px;
	/* ~1.21x base */
}

h6 {
	font-size: 16px;
	/* ~1.14x base */
}

/* Font Size Control Container */
.font-size-controls {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 5px 8px;
	background-color: #f5f5f5;
	border-radius: 5px;
	margin: 0 5px;
}

.font-size-controls button {
	background-color: #0b2239;
	color: white;
	border: none;
	padding: 6px 12px;
	border-radius: 3px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s ease;
	min-width: 40px;
}

.font-size-controls button:hover {
	background-color: #0056b3;
	transform: scale(1.05);
}

.font-size-controls button:active {
	transform: scale(0.98);
}

.font-size-display {
	color: #333;
	font-weight: 600;
	font-size: 13px;
	min-width: 40px;
	text-align: center;
	padding: 0 5px;
}

.font-size-reset-btn {
	background-color: #6c757d !important;
	font-size: 12px !important;
	padding: 5px 8px !important;
	min-width: 35px !important;
}

.font-size-reset-btn:hover {
	background-color: #5a6268 !important;
}

/* Apply font size to all text elements */
.content-wrapper p,
.content-wrapper div,
.content-wrapper span,
.content-wrapper a,
.info-container p,
.info-text,
.container p,
body p,
body div,
body span,
body a {
	/* Font size will be controlled by JavaScript */
}

/* Tooltip for font size controls */
.font-size-tooltip {
	position: absolute;
	background-color: #333;
	color: white;
	padding: 5px 10px;
	border-radius: 3px;
	font-size: 12px;
	white-space: nowrap;
	z-index: 10000;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.font-size-controls:hover .font-size-tooltip {
	opacity: 1;
}

/* Mobile/Responsive */
@media (max-width: 768px) {
	.font-size-controls {
		display: flex;
		flex-direction: row;
		gap: 5px;
		padding: 6px 8px;
		font-size: 12px;
	}

	.font-size-controls button {
		padding: 4px 8px;
		font-size: 12px;
		min-width: 32px;
	}

	.font-size-display {
		font-size: 11px;
		min-width: 50px;
	}
}
