/**
 * General Info - Premium Finance-grade Typography
 * Elegant styling for HTML tags (strong, small, lists)
 */

/* ============================================
   GENERAL INFO CONTAINER
   ============================================ */

.general-info-container {
	margin: 3rem 0;
}

.general-info-section {
	padding: 2rem 2.5rem;
}

.general-info-section-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: rgb(59, 130, 246);
	margin: 0 0 1.5rem 0;
	letter-spacing: -0.025em;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.general-info-section-title::before {
	content: '';
	width: 4px;
	height: 1.5rem;
	background: linear-gradient(to bottom, rgb(59, 130, 246), rgb(147, 51, 234));
	border-radius: 2px;
	box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}

/* ============================================
   REPORT TEXT - PREMIUM TYPOGRAPHY
   ============================================ */

.report-text {
	color: rgb(226, 232, 240);
	line-height: 1.75;
	font-size: 0.9375rem;
}

:root:not(.dark-mode) .report-text {
	color: rgb(51, 65, 85);
}

/* Headings */
.report-text h6 {
	font-size: 1rem;
	font-weight: 700;
	color: rgb(241, 245, 249);
	margin: 2rem 0 1rem 0;
	padding-bottom: 0.5rem;
	letter-spacing: -0.025em;
	position: relative;
	display: inline-block;
	border-bottom: 3px solid rgba(59, 130, 246, 0.5);
	width: auto;
}

:root:not(.dark-mode) .report-text h6 {
	color: rgb(15, 23, 42);
	border-bottom-color: rgba(59, 130, 246, 0.6);
}

/* Section titles (numbered: "1. Key Metrics Summary") - DARK MODE DEFAULT */
.general-info-section .report-section-title,
.general-info-section h6.report-section-title,
.general-info-section .report-text .report-section-title,
.general-info-section .report-text h6.report-section-title,
.report-text .report-section-title,
.report-text h6.report-section-title {
	font-size: 1.0625rem !important;
	font-weight: 700 !important;
	color: rgb(241, 245, 249) !important; /* White for dark mode */
	margin: 2.5rem 0 1.25rem 0 !important;
	padding: 0.5rem 1rem !important;
	border-left: 4px solid rgb(59, 130, 246) !important;
	letter-spacing: -0.025em !important;
	box-shadow: -4px 0 12px rgba(59, 130, 246, 0.3) !important;
	display: inline-block !important;
	background: rgba(59, 130, 246, 0.08) !important;
	border-radius: 0 6px 6px 0 !important;
}

/* Light mode overrides - ONLY for light mode (using [data-theme="light"] to be explicit) */
[data-theme="light"] .general-info-section .report-section-title,
[data-theme="light"] .general-info-section h6.report-section-title,
[data-theme="light"] .general-info-section .report-text .report-section-title,
[data-theme="light"] .general-info-section .report-text h6.report-section-title,
[data-theme="light"] .report-text .report-section-title,
[data-theme="light"] .report-text h6.report-section-title {
	color: rgb(15, 23, 42) !important; /* Dark for light mode */
	background: rgba(59, 130, 246, 0.1) !important;
}

/* Paragraphs */
.report-text p {
	margin: 1rem 0;
	color: rgb(203, 213, 225);
}

:root:not(.dark-mode) .report-text p {
	color: rgb(71, 85, 105);
}

/* ============================================
   STRONG TAGS - PREMIUM HIGHLIGHT
   ============================================ */

.report-text strong,
.report-text b {
	font-weight: 700;
	color: rgb(59, 130, 246);
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 51, 234, 0.1));
	padding: 0.125rem 0.375rem;
	border-radius: 4px;
	border: 1px solid rgba(59, 130, 246, 0.2);
	font-variant-numeric: tabular-nums;
	letter-spacing: -0.01em;
	box-shadow: 0 0 8px rgba(59, 130, 246, 0.15);
	transition: all 0.2s;
	display: inline-block;
}

.report-text strong:hover,
.report-text b:hover {
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(147, 51, 234, 0.15));
	border-color: rgba(59, 130, 246, 0.3);
	box-shadow: 0 0 12px rgba(59, 130, 246, 0.25);
	transform: translateY(-1px);
}

:root:not(.dark-mode) .report-text strong,
:root:not(.dark-mode) .report-text b {
	color: rgb(37, 99, 235);
	background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(147, 51, 234, 0.08));
	border-color: rgba(59, 130, 246, 0.25);
}

/* ============================================
   SMALL TAGS - SUBTLE ANNOTATIONS
   ============================================ */

.report-text small {
	font-size: 0.8125rem;
	color: rgb(148, 163, 184);
	font-weight: 500;
	font-style: italic;
	display: inline-block;
	margin-left: 0.25rem;
	padding: 0.125rem 0.5rem;
	background: rgba(148, 163, 184, 0.08);
	border-radius: 4px;
	border-left: 2px solid rgba(148, 163, 184, 0.3);
	line-height: 1.4;
}

:root:not(.dark-mode) .report-text small {
	color: rgb(100, 116, 139);
	background: rgba(100, 116, 139, 0.05);
	border-left-color: rgba(100, 116, 139, 0.3);
}

/* ============================================
   LISTS - PREMIUM STYLING
   ============================================ */

.report-list {
	list-style: none;
	padding: 0;
	margin: 1.5rem 0;
}

.report-list li {
	position: relative;
	padding-left: 2rem;
	margin: 0.875rem 0;
	color: rgb(203, 213, 225);
	line-height: 1.7;
}

:root:not(.dark-mode) .report-list li {
	color: rgb(71, 85, 105);
}

.report-list li::before {
	content: '';
	position: absolute;
	left: 0.5rem;
	top: 0.65rem;
	width: 6px;
	height: 6px;
	background: linear-gradient(135deg, rgb(59, 130, 246), rgb(147, 51, 234));
	border-radius: 50%;
	box-shadow: 0 0 8px rgba(59, 130, 246, 0.5);
}

.report-list li:hover::before {
	transform: scale(1.3);
	box-shadow: 0 0 12px rgba(59, 130, 246, 0.7);
}

/* Sub-lists */
.report-sublist {
	list-style: none;
	padding: 0;
	margin: 0.75rem 0 0.75rem 1.5rem;
}

.report-sublist li {
	padding-left: 1.5rem;
	margin: 0.625rem 0;
	font-size: 0.875rem;
	color: rgb(148, 163, 184);
}

:root:not(.dark-mode) .report-sublist li {
	color: rgb(100, 116, 139);
}

.report-sublist li::before {
	width: 4px;
	height: 4px;
	left: 0.25rem;
	top: 0.6rem;
	background: rgba(148, 163, 184, 0.6);
	box-shadow: 0 0 4px rgba(148, 163, 184, 0.3);
}

/* ============================================
   EMPTY STATE
   ============================================ */

.report-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 3rem 2rem;
	color: rgb(148, 163, 184);
	text-align: center;
}

.report-empty svg {
	margin-bottom: 1rem;
	opacity: 0.5;
}

.report-empty p {
	margin: 0;
	font-size: 0.875rem;
}

/* ============================================
   LOADING STATE
   ============================================ */

.report-loading {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 3rem 2rem;
	gap: 1rem;
}

.loading-spinner {
	width: 2.5rem;
	height: 2.5rem;
	border: 3px solid rgba(59, 130, 246, 0.2);
	border-top-color: rgb(59, 130, 246);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

.report-loading p {
	color: rgb(148, 163, 184);
	font-size: 0.875rem;
	margin: 0;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
	.general-info-section {
		padding: 1.5rem;
	}
	
	.report-text {
		font-size: 0.875rem;
	}
	
	.report-section-title {
		font-size: 1rem;
		padding-left: 0.75rem;
		border-left-width: 3px;
	}
	
	.report-list li {
		padding-left: 1.5rem;
		font-size: 0.875rem;
	}
}

