/* Base Styles - Color Variables and Control Bar */

/* Color Variables - Military Blue Palette */
:root {
	/* Primary Color Scale - Bright to Dark */
	--color-bright: #e6f2ff;
	--color-light: #b3d9ff;
	--color-base: #4a90e2;
	--color-medium: #3a7bc8;
	--color-dim: #2d5aa0;
	--color-dark: #1a3d6b;
	
	/* RGBA Variations for Base Color */
	--color-base-rgba-01: rgba(74, 144, 226, 0.1);
	--color-base-rgba-03: rgba(74, 144, 226, 0.3);
	--color-base-rgba-05: rgba(74, 144, 226, 0.5);
	--color-base-rgba-08: rgba(74, 144, 226, 0.8);
	
	/* Highlight Color (Yellow/Orange for Step 7) */
	--highlight-base: #ffd000;
	--highlight-light: #ffeb99;
	--highlight-rgba-01: rgba(255, 208, 0, 0.1);
	--highlight-rgba-03: rgba(255, 208, 0, 0.3);
	--highlight-rgba-05: rgba(255, 208, 0, 0.5);
	--highlight-rgba-08: rgba(255, 208, 0, 0.8);
}

/* Control bar styling - always visible, works with all themes */
.style-control {
	position: fixed !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	background: rgba(255, 255, 255, 0.98) !important;
	border-bottom: 2px solid #333 !important;
	padding: 1em !important;
	z-index: 10000 !important;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2) !important;
	display: flex !important;
	align-items: center !important;
	gap: 1em !important;
	font-family: system-ui, sans-serif !important;
	margin: 0 !important;
}

.style-control label {
	font-weight: bold !important;
	font-size: 0.9em !important;
	color: #000 !important;
	margin: 0 !important;
}

.style-control .show-markup-label {
	margin-left: 1em !important;
}

.style-control #show-markup {
	margin-right: 0.5em !important;
}

.style-control select {
	padding: 0.5em 1em !important;
	border: 1px solid #333 !important;
	border-radius: 0 !important;
	font-size: 1em !important;
	background: white !important;
	color: #000 !important;
	cursor: pointer !important;
	font-family: system-ui, sans-serif !important;
}

.style-control select:hover {
	border-color: #666 !important;
}

.style-control select:focus {
	outline: 2px solid #4a90e2 !important;
	outline-offset: 2px !important;
}

.step-indicator {
	font-size: 0.85em !important;
	color: #666 !important;
	font-weight: normal !important;
	margin-left: auto !important;
	padding: 0.25em 0.75em !important;
	background: #f0f0f0 !important;
	border-radius: 0 !important;
}

body {
	padding-top: 70px !important;
}

/* Markup tag styling - absolutely positioned overlay */
.markup-tag {
	position: absolute;
	top: 0;
	left: 0;
	display: inline-block;
	font-family: 'Courier New', monospace;
	font-size: 11px;
	font-weight: normal;
	font-style: normal;
	text-transform: none;
	color: #fff;
	background: rgba(0, 0, 0, 0.7);
	padding: 2px 6px;
	border-radius: 0;
	line-height: 1.2;
	opacity: 0.8;
	z-index: 1000;
	pointer-events: none;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Responsive Images - Always applied */
img {
	max-width: 100%;
	height: auto;
}

/* Character Grid - Index Page */
.character-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	margin: 2rem 0;
}

.character-card {
	text-align: center;
}

.character-card a {
	display: block;
	text-decoration: none;
}

