/* Update Guide Modal Markdown & Alert Styles */

#markdownContent {
	line-height: 1.65;
	color: #3f3f46;
	font-size: 0.875rem;
}

.dark #markdownContent {
	color: #d4d4d8;
}

#markdownContent h1,
#markdownContent h2,
#markdownContent h3 {
	margin-top: 1.4em;
	margin-bottom: 0.6em;
	font-weight: 700;
	color: #18181b;
}

.dark #markdownContent h1,
.dark #markdownContent h2,
.dark #markdownContent h3 {
	color: #f4f4f5;
}

#markdownContent h1 {
	font-size: 1.35rem;
}

#markdownContent h2 {
	font-size: 1.125rem;
	border-bottom: 1px solid #e4e4e7;
	padding-bottom: 0.35rem;
}

.dark #markdownContent h2 {
	border-bottom-color: #27272a;
}

#markdownContent p {
	margin-bottom: 0.85em;
}

#markdownContent ul,
#markdownContent ol {
	padding-left: 1.25rem;
	margin-bottom: 0.85em;
}

#markdownContent ul {
	list-style-type: disc;
}

#markdownContent ol {
	list-style-type: decimal;
}

#markdownContent code {
	background-color: rgba(99, 102, 241, 0.1);
	color: #4f46e5;
	padding: 0.15rem 0.35rem;
	border-radius: 0.375rem;
	font-size: 0.85em;
}

.dark #markdownContent code {
	background-color: rgba(99, 102, 241, 0.15);
	color: #a5b4fc;
}

#markdownContent a {
	color: #4f46e5;
	text-decoration: underline;
}

.dark #markdownContent a {
	color: #818cf8;
}

.gh-alert {
	padding: 0.875rem 1rem;
	border-radius: 0.75rem;
	margin: 1rem 0;
	border-left: 4px solid;
}

.gh-alert-title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	margin-bottom: 0.35rem;
}

.gh-alert-note {
	border-color: #3b82f6;
	background-color: rgba(59, 130, 246, 0.1);
	color: #1d4ed8;
}

.dark .gh-alert-note {
	background-color: rgba(59, 130, 246, 0.18);
	color: #93c5fd;
}

.gh-alert-tip {
	border-color: #10b981;
	background-color: rgba(16, 185, 129, 0.1);
	color: #047857;
}

.dark .gh-alert-tip {
	background-color: rgba(16, 185, 129, 0.18);
	color: #6ee7b7;
}

.gh-alert-important {
	border-color: #8b5cf6;
	background-color: rgba(139, 92, 246, 0.1);
	color: #6d28d9;
}

.dark .gh-alert-important {
	background-color: rgba(139, 92, 246, 0.18);
	color: #c4b5fd;
}

.gh-alert-warning {
	border-color: #f59e0b;
	background-color: rgba(245, 158, 11, 0.12);
	color: #b45309;
}

.dark .gh-alert-warning {
	background-color: rgba(245, 158, 11, 0.2);
	color: #fcd34d;
}

.gh-alert-caution {
	border-color: #ef4444;
	background-color: rgba(239, 68, 68, 0.1);
	color: #991b1b;
}

.dark .gh-alert-caution {
	background-color: rgba(153, 27, 27, 0.2);
	color: #fca5a5;
}

.animate-update-fade-in {
	animation: updateGuideFadeIn 0.2s ease-out;
}

@keyframes updateGuideFadeIn {
	from {
		opacity: 0;
		transform: translateY(5px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}
