/* ============================================================
   CONTROLLER TITLE
   "Shiny Hunt Counter" header inside the main UI panel.
============================================================ */
#app h1 {
	font-family: "Press Start 2P", system-ui, sans-serif;
	text-align: center;
	font-size: 1rem;
	margin-bottom: 14px;
	text-transform: uppercase;
	color: #d62828;
	text-shadow: 0 2px 0 #fff;
}

/* ============================================================
   THEME SELECTOR BUTTON ROW
   Buttons for switching Pokéball themes.
============================================================ */
#themePalette {
	display: flex;
	gap: 8px;
	justify-content: center;
	margin-bottom: 12px;
	flex-wrap: wrap;
}

/* Individual theme buttons */
.theme-btn {
	font-size: 0.7rem;
	padding: 6px 10px;
	border-radius: 999px;
	border: 2px solid #111;
	background: var(--accent);
	color: #fff;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.05s ease, box-shadow 0.1s ease, background 0.1s ease;
}

/* Hover feedback */
.theme-btn:hover {
	background: var(--accent-hover);
	box-shadow: 0 3px 0 #111;
	transform: translateY(-1px);
}

/* Highlight currently-selected theme */
.theme-btn.active {
	box-shadow: 0 0 0 3px #111 inset;
	transform: translateY(-1px);
}

/* ============================================================
   CONTROLLER LAYOUT ROWS
   Defines spacing and alignment between UI rows.
============================================================ */
#app > div {
	display: flex;
	gap: 8px;
	margin-bottom: 10px;
}

/* ============================================================
   INPUTS & DROPDOWNS
============================================================ */
input[type="text"],
select {
	flex: 1;
	padding: 8px 10px;
	border-radius: 8px;
	border: 2px solid #111;
	background: #fff;
	font-size: 0.9rem;
}

/* ============================================================
   BUTTON STYLING (GENERAL)
   Applies to all controller buttons unless overridden.
============================================================ */
button {
	padding: 8px 12px;
	border-radius: 999px;
	border: 2px solid #111;
	background: var(--accent);
	color: #fff;
	font-weight: 700;
	font-size: 0.9rem;
	cursor: pointer;
	transition: transform 0.05s ease, box-shadow 0.1s ease, background 0.1s ease;
}

/* Hover feedback */
button:hover:not(:disabled) {
	background: var(--accent-hover);
	box-shadow: 0 3px 0 #111;
	transform: translateY(-1px);
}

/* Click press */
button:active:not(:disabled) {
	transform: translateY(1px);
	box-shadow: none;
}

/* Disabled buttons */
button:disabled {
	opacity: 0.5;
	cursor: default;
	box-shadow: none;
}

/* ============================================================
   CURRENT HUNT TITLE
   Displays which hunt is active ("Slowpoke", etc.).
============================================================ */
#currentHuntTitle {
	text-align: center;
	margin-top: 8px;
	font-size: 0.9rem;
	text-transform: uppercase;
	color: #444;
}

/* ============================================================
   COUNTER DISPLAY BOX
   Shows the current reset/encounter count.
============================================================ */
#countDisplay {
	margin: 10px auto 16px;
	width: 100%;
	text-align: center;
	font-family: "Press Start 2P", system-ui, sans-serif;
	font-size: 1.8rem;
	padding: 10px;
	border-radius: 12px;
	border: 3px solid #111;
	background: #fffde7;
	box-shadow: inset 0 0 0 2px #ffd54f;
}

/* ============================================================
   RESET BUTTON (SPECIAL COLOR THEME)
============================================================ */
#resetBtn {
	background: var(--reset);
	color: #111;
}

#resetBtn:hover:not(:disabled) {
	background: var(--reset-hover);
}
