﻿:root {
	--primary: #003366;
	--secondary: #d90429;
	--bg-light: #f8f9fa;
	--text-dark: #212529;
	--card-bg: #ffffff;
}

body.high-contrast {
	--primary: #ffff00;
	--secondary: #ff00ff;
	--bg-light: #000000;
	--text-dark: #ffffff;
	--card-bg: #121212;
}

body {
	font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
	background-color: var(--bg-light);
	color: var(--text-dark);
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

header {
	background-color: var(--primary);
	color: white;
	padding: 1rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

	header h1 {
		margin: 0;
		font-size: 1.4rem;
	}

.controls {
	display: flex;
	gap: 0.5rem;
}

button {
	background-color: var(--secondary);
	color: white;
	border: none;
	padding: 0.6rem 1rem;
	border-radius: 4px;
	cursor: pointer;
	font-weight: bold;
}

	button:focus, a:focus {
		outline: 3px solid #ffcc00;
	}

nav {
	display: flex;
	justify-content: space-around;
	background-color: #eee;
	padding: 0.5rem;
	border-bottom: 1px solid #ccc;
}

	nav button {
		background: transparent;
		color: var(--text-dark);
		border: 1px solid transparent;
		padding: 0.5rem 1rem;
	}

		nav button.active {
			border-bottom: 3px solid var(--primary);
			font-weight: bold;
		}

main {
	flex: 1;
	padding: 1rem;
	max-width: 800px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
}

.tab-content {
	display: none;
}

	.tab-content.active {
		display: block;
	}

#map {
	height: 350px;
	width: 100%;
	border-radius: 8px;
	margin-bottom: 1rem;
}

.route-panel, .card {
	background: var(--card-bg);
	padding: 1rem;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.1);
	margin-bottom: 1rem;
}

select {
	width: 100%;
	padding: 0.5rem;
	margin: 0.5rem 0 1rem 0;
	border-radius: 4px;
	border: 1px solid #ccc;
}

.webcam-container {
	position: relative;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	background: #000;
	border-radius: 8px;
	overflow: hidden;
}

video {
	width: 100%;
	display: block;
}

.album-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 1rem;
}

.sticker {
	border: 2px dashed #ccc;
	border-radius: 8px;
	padding: 0.5rem;
	text-align: center;
	background: var(--card-bg);
	opacity: 0.5;
}

	.sticker.unlocked {
		border-style: solid;
		border-color: var(--primary);
		opacity: 1;
	}

	.sticker img {
		width: 100%;
		height: 100px;
		object-fit: cover;
		border-radius: 4px;
	}

.hidden {
	display: none !important;
}
