/* scan_lang_shortcuts.css
   Small "flag + key" boxes for the configurable per-language scan
   shortcuts (Settings modal > "Language Shortcuts"). See
   scan_lang_shortcuts.js for the markup these style (built dynamically
   into #langShortcutGrid) and the capture-on-click behaviour of
   .lang-shortcut-key. Modeled loosely on a keyboard cap: flag on top,
   assigned key below, so the whole row reads like a shortcut cheat-sheet
   at a glance. */

.lang-shortcut-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.lang-shortcut-box {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 5px;
	width: 54px;
	padding: 7px 4px;
	border: 1px solid #ccc;
	border-radius: 8px;
	background: #fafafa;
}

.lang-shortcut-flag {
	height: 20px;
	width: auto;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.lang-shortcut-key {
	width: 100%;
	box-sizing: border-box;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;
	font-size: 0.85rem;
	padding: 3px 2px;
	border: 1px solid #bbb;
	border-radius: 4px;
	background: #fff;
	color: #333;
	cursor: pointer;
}

.lang-shortcut-key:hover {
	border-color: #2f7fbf;
}

.lang-shortcut-key:focus {
	outline: none;
	border-color: #2f7fbf;
	box-shadow: 0 0 0 2px rgba(47, 127, 191, 0.25);
}
