@charset "utf-8";
/* modern.css - visual refresh layer.
   Loaded last in head_content.php. Contains only additive overrides:
   no markup or JS changes, so all legacy behaviour is preserved. */

:root {
	--accent: #f5b301;        /* modern take on the legacy #fce01b yellow */
	--accent-dark: #d99e00;
	--ink: #1f2937;           /* primary text */
	--muted: #6b7280;
	--line: #d7dce3;          /* borders */
	--bg: #eef1f5;            /* page background */
	--card: #ffffff;
	--danger: #dc2626;
	--radius: 8px;
	--shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
	--shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.22);
}

/* ---------- Base ---------- */
html, body {
	font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
	background-color: var(--bg);
	color: var(--ink);
}
a:link, a:visited { color: #1d4ed8; }
a:hover { color: #1e40af; text-decoration: underline; }
hr { border-bottom: 1px solid var(--line); }
fieldset {
	border: 1px solid var(--line);
	border-radius: var(--radius);
}
legend { color: var(--muted); padding: 0 4px; }
::selection { background: #fde68a; }
/* no visible scrollbars anywhere - scrolling stays functional */
* { scrollbar-width: none; }
::-webkit-scrollbar { display: none; }

/* ---------- Buttons & inputs ---------- */
.button,
.basicbtn,
div a.basicbtn,
input[type="submit"],
button {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid #c9a227;
	border-radius: 6px;
	background: linear-gradient(#ffd24d, var(--accent));
	color: #222 !important;
	font-weight: 600;
	cursor: pointer;
	text-decoration: none;
}
.button:hover,
.basicbtn:hover,
div a.basicbtn:hover,
input[type="submit"]:hover,
button:hover {
	background: linear-gradient(#ffdc70, var(--accent-dark));
	text-decoration: none;
}
.button:active, .basicbtn:active, input[type="submit"]:active, button:active {
	transform: translateY(1px);
}
input[type="text"], input[type="number"], input[type="date"],
input[type="password"], select, textarea {
	border: 1px solid var(--line);
	border-radius: 5px;
	padding: 4px 6px;
	background: #fff;
}
input:focus, select:focus, textarea:focus {
	outline: 2px solid rgba(245, 179, 1, 0.55);
	outline-offset: 0;
	border-color: var(--accent-dark);
}

/* ---------- Floating top-right controls (no bar) ---------- */
#topbar {
	position: fixed;
	top: 0;
	left: 0;
	right: auto;
	z-index: 210; /* above sidenav(200) so the burger stays clickable */
	display: flex;
	align-items: center;
	gap: 8px;
	height: auto;
	padding: 0;
	background: transparent;
	border-bottom: none;
	box-shadow: none;
}
/* brand + logout link hidden; logout remains in the slide-out menu */
#brand, .topbar_logout { display: none; }
#brand {
	font-size: 13pt;
	font-weight: 700;
	letter-spacing: 0.3px;
	color: var(--ink) !important;
	text-decoration: none;
}
#brand::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 7px;
	border-radius: 3px;
	background: var(--accent);
}
.topbar_logout {
	margin-left: auto;
	padding: 8px 12px;
	border-radius: 6px;
	color: var(--ink);
	font-size: 9.5pt;
}
.topbar_logout:hover {
	background-color: var(--danger);
	color: #fff;
	text-decoration: none;
}
/* hamburger */
#navtoggle {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 10px;
	box-sizing: border-box;
	width: 109px; /* ends at the DATUM | first car column line */
	height: 42px;
	padding: 0;
	border: none;
	border-right: 1px solid var(--accent-dark);
	border-bottom: 1px solid var(--accent-dark);
	border-radius: 0 0 10px 0;
	background: var(--accent);
	box-shadow: var(--shadow);
	font-size: 12pt;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: var(--ink);
	cursor: pointer;
}
#navtoggle .nb-bars {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
#navtoggle span {
	display: block;
	width: 20px;
	height: 2px;
	border-radius: 2px;
	background: var(--ink);
	transition: transform 0.2s, opacity 0.2s;
}
#navtoggle:hover { background: #fff7dd; border-color: var(--accent-dark); }
body.nav-open #navtoggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open #navtoggle span:nth-child(2) { opacity: 0; }
body.nav-open #navtoggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Slide-out sidebar ---------- */
#sidenav {
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	z-index: 200;
	width: min(280px, 85vw);
	padding-top: 56px; /* clear the floating burger button */
	background: #fff;
	box-shadow: var(--shadow-lg);
	transform: translateX(-105%);
	transition: transform 0.25s ease;
	overflow-y: auto;
}
body.nav-open #sidenav { transform: translateX(0); }
#sidenav a {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 0 20px;
	border-bottom: 1px solid var(--line);
	color: var(--ink) !important;
	font-size: 11pt;
	font-weight: 500;
	text-decoration: none;
}
#sidenav a:hover {
	background: #fff7dd;
	padding-left: 26px;
}
#sidenav a.menu_logout {
	margin-top: 14px;
	border-top: 2px solid var(--line);
	border-bottom: none;
	color: var(--danger) !important;
}
#sidenav a.menu_logout:hover { background: #fee2e2; }
/* backdrop above content, below drawer */
#navoverlay {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 150;
	background: rgba(15, 23, 42, 0.45);
}
body.nav-open #navoverlay { display: block; }

/* ---------- Calendar controls (moved into the sidebar by nav.js) ---------- */
#sidenav #calcontrols {
	position: static;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
	padding: 12px 16px 18px;
	background: #f8fafc;
	border-bottom: 2px solid var(--line);
	font-size: 10pt;
}
#sidenav #calcontrols::before {
	content: "Filter";
	font-size: 8pt;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
	color: var(--muted);
}
#sidenav #calcontrols > label { font-weight: 600; margin-bottom: -8px; }
#sidenav #calcontrols select,
#sidenav #calcontrols input[type="text"] {
	box-sizing: border-box;
	min-height: 36px;
}
#sidenav #carselect { width: 100%; }
/* date row: year + month side by side, day/month counts on the next line,
   submit button full width below */
#sidenav #calcontrols form {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
}
#sidenav #calcontrols form select {
	flex: 1 1 0;
	min-width: 0;
}
#sidenav #calcontrols form input[type="text"] {
	width: 3em !important;
	text-align: center;
}
#sidenav #calcontrols form input[type="submit"],
#sidenav #btn_assign_place {
	flex: 1 1 100%;
	min-height: 36px;
}
#sidenav #btn_assign_place {
	background: #f1f5f9;
	border-color: var(--line);
}
#sidenav #btn_assign_place:hover { background: #e2e8f0; }
/* search field at the bottom of the filter block */
#sidenav #calcontrols .dt-search { margin-left: 0; }
#sidenav #calcontrols .dt-search label { display: block; width: 100%; }
#sidenav #calcontrols .dt-search input {
	width: 100%;
	box-sizing: border-box;
}
#calcontrols select { font-size: 11pt; min-height: 40px; padding: 4px 8px; }
#calcontrols input[type="text"] { text-align: center; min-height: 40px; font-size: 11pt; }
#calcontrols input[type="submit"],
#calcontrols button { min-height: 40px; padding: 6px 18px; font-size: 10.5pt; }
/* DataTables search box, relocated into the filter bar by calendar.php */
#calcontrols .dt-search { margin-left: auto; }
#calcontrols .dt-search input {
	box-sizing: border-box;
	width: 200px;
	min-height: 40px;
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 6px;
	font-size: 11pt;
}
#calcontrols .dt-search input:focus {
	outline: 2px solid rgba(245, 179, 1, 0.55);
	border-color: var(--accent-dark);
}

/* ---------- Main menu (#indexmenu / #menubox) ---------- */
#indexmenu, #logindiv, #userdiv, #locationsdiv,
#carsdiv, #blacklistdiv, #placelistdiv {
	margin: 40px auto;
	width: 720px;
	max-width: 94vw;
	padding: 28px 32px;
	background: var(--card);
	border: 1px solid var(--line);
	border-radius: 12px;
	box-shadow: var(--shadow);
	box-sizing: border-box;
}
#blacklistdiv, #placelistdiv { width: 820px; }
#indexmenu h1 { margin-top: 0; }
#indexmenu small { color: var(--muted); }

#menubox { margin-top: 14px; }
#menubox ul { padding: 0; margin: 0; }
#menubox li {
	margin: 0;
	border: none;
	border-bottom: 1px solid var(--line);
	width: auto;
	background-color: transparent;
	text-align: left;
}
#menubox li:first-child { border-radius: var(--radius) var(--radius) 0 0; }
#menubox li:last-child { border-bottom: none; border-radius: 0 0 var(--radius) var(--radius); }
#menubox li a {
	display: block;
	font-size: 1.1em;
	padding: 12px 16px;
	border: none;
	background: none;
	font-weight: 500;
	color: var(--ink) !important;
}
#menubox li:hover { background-color: #fff7dd; }
#menubox li:hover a { font-weight: 600; }
#menubox li.logoutlink { border-top: 2px solid var(--line); }
#menubox li.logoutlink:hover { background-color: #fee2e2 !important; }
#menubox li.logoutlink:hover a { color: var(--danger) !important; }

/* ---------- Login ---------- */
#logindiv h2 { margin-top: 0; }
.loginfields {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 10px 12px;
	align-items: center;
	max-width: 420px;
	font-size: 11pt;
	margin-bottom: 12px;
}
.loginfields input { width: 100%; box-sizing: border-box; padding: 8px 10px; }

/* ---------- Tables (generic / management / coupon lists) ---------- */
table {
	background: #fff;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}
th {
	border: none;
	border-bottom: 2px solid var(--line);
	background: #f8fafc;
	color: var(--muted);
	font-size: 0.85em;
	font-weight: 600;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.4px;
	padding: 8px 12px;
}
td {
	border: none !important;
	border-bottom: 1px solid var(--line) !important;
	padding: 7px 12px !important;
}
tbody tr:last-child td { border-bottom: none !important; }
tbody tr:nth-child(even) td { background-color: #fafbfc; }
tbody tr:hover td { background-color: #fff7dd; }
/* link cells keep readable link color */
td a { color: #1d4ed8; }

/* ---------- Calendar grid keeps its full cell borders ---------- */
#tableDiv_General { font-size: 12px; }
#tableDiv_General table {
	box-shadow: none;
	border-radius: 0;
	background: transparent;
}
#tableDiv_General td {
	border: 1px solid #cfd4db !important;
	padding: 1px !important;
}
#tableDiv_General tbody tr:nth-child(even) td,
#tableDiv_General tbody tr:hover td { background-color: inherit; }
#assignappoint td { border: none !important; padding: 4px !important; }
#assignappoint { box-shadow: none; }
/* named management lists get a card frame */
#userlist, #usercarlist, #locationslist, #carslist, .basictable {
	border: 1px solid var(--line) !important;
}

/* ---------- Calendar data table ---------- */
#tableDiv_General table.dataTable > thead > tr > th {
	background: #374151;
	color: #fff;
	border: 1px solid #4b5563;
	font-size: 13px;
	line-height: 1.25;
	padding: 8px 10px;
}
/* DATUM header sits at the bottom edge of its (taller) header row */
#tableDiv_General thead th.datecol { vertical-align: bottom; }
/* the empty FixedColumns spacer th in the header row sits on top of the
   date column - hide it so the dates underneath stay visible */
#tableDiv_General thead th:empty {
	opacity: 0;
	pointer-events: none;
}
#tableDiv_General thead .carname {
	font-size: 10px;
	font-weight: 400;
	color: #d1d5db;
}
#tableDiv_General {
	background: #fff;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	font-size: 13px;
}
/* readable, touch-friendly booking chips */
#tableDiv_General .termname {
	display: inline-block;
	padding: 5px 9px;
	margin: 3px 1px;
	border-radius: 11px;
	background-color: rgba(255, 255, 255, 0.92) !important;
	border: 1px solid rgba(0, 0, 0, 0.28);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	font-size: 13px;
	color: #111 !important;
	text-decoration: none;
}
#tableDiv_General .termname:hover {
	background-color: #fff7dd !important;
	border-color: var(--accent-dark);
}
/* CSS status dots (replaced the status_*.gif images) */
.stled {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-right: 5px;
	border-radius: 50%;
	vertical-align: -1px;
}
.st0 { background: #dc2626; }   /* Anfrage  (was status_rot.gif)  */
.st1 { background: #eab308; }   /* Angebot  (was status_gelb.gif) */
.st2 { background: #16a34a; }   /* Bestaetigt (was status_gruen.gif) */
.st3 { background: #9ca3af; }   /* grau */
/* CSS delete icon (replaced action-delete-sharp-thick.png) */
.icn-del {
	display: inline-block;
	padding: 0 5px;
	border-radius: 4px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1;
	color: #dc2626;
}
.icn-del:hover { background: #fee2e2; }
#tableDiv_General .datecol { font-size: 12px; padding: 5px 8px !important; }
#tableDiv_General td { padding: 3px 4px !important; }
/* calendar page fills the viewport; only the DataTable scrolls internally.
   The filter bar is a fixed overlay, so the scroll body height is constant. */
html:has(#tableDiv_General), body:has(#tableDiv_General) {
	overflow: hidden;
	height: 100%;
}
#tableDiv_General div.dt-scroll-body {
	/* deliberately under-size: head + container chrome must stay
	   comfortably inside the viewport so the page can never scroll */
	max-height: calc(100vh - 80px) !important;
}
/* virtual overlay scrollbars for the calendar grid (nav.js injects the markup) */
.vscroll-wrap { position: relative; }
.vbar-y, .vbar-x {
	position: absolute;
	z-index: 40;
	border-radius: 6px;
	background: rgba(148, 163, 184, 0.18);
}
.vbar-y { top: 2px; right: 2px; bottom: 2px; width: 8px; }
.vbar-x { left: 2px; right: 2px; bottom: 2px; height: 8px; }
.vbar-thumb {
	position: absolute;
	border-radius: 6px;
	background: rgba(100, 116, 139, 0.7);
}
.vbar-y .vbar-thumb { left: 0; right: 0; top: 0; min-height: 24px; }
.vbar-x .vbar-thumb { top: 0; bottom: 0; left: 0; min-width: 24px; }
.vbar-thumb:hover { background: rgba(71, 85, 105, 0.9); }
/* the filter bar lives in the sidebar now; nothing collapses on the page */
/* every day cell is at least as tall as a row holding one appointment chip */
#tableDiv_General tbody td { height: 34px; }

/* ---------- Floating layer forms (term + management dialogs) ---------- */
.layerform {
	position: relative; /* anchor for .lf-close when no inline position is set */
	border: 1px solid var(--line);
	border-radius: 10px;
	box-shadow: var(--shadow-lg);
	padding: 0;
}
.layerform fieldset { border: none; padding: 0 16px 16px; }
/* bootstrap-style modal header */
.layerform legend {
	display: block;
	box-sizing: border-box;
	width: calc(100% + 32px);
	margin: 0 -16px 14px;
	padding: 12px 44px 12px 16px;
	background: var(--accent);
	border-bottom: 1px solid var(--accent-dark);
	font-size: 1.05em;
	font-weight: 600;
	color: var(--ink);
	cursor: default;
}
/* close button injected by nav.js */
.lf-close {
	position: absolute;
	top: 8px;
	right: 10px;
	z-index: 5;
	width: 30px;
	height: 30px;
	min-height: 0;
	padding: 0;
	border: none;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.35);
	font-size: 18px;
	line-height: 1;
	font-weight: 700;
	color: var(--ink);
}
.lf-close:hover { background: rgba(255, 255, 255, 0.75); }
/* bootstrap-ish vertical form layout */
.layerform form { display: block !important; }
.layerform input[type="text"],
.layerform input[type="password"],
.layerform input[type="date"],
.layerform select,
.layerform textarea {
	box-sizing: border-box;
	width: 100%;
	margin: 3px 0 10px;
	padding: 8px 10px;
}
.layerform textarea { min-height: 64px; }
/* date + time pairs share a row */
.layerform input.dateselect { width: 58% !important; margin-right: 2%; }
.layerform input[id$="Time"] { width: 36% !important; }
/* color-picker inputs have inline width:50% - force full width */
.layerform input[id$="Color"],
.layerform .minicolors-input { width: 100% !important; box-sizing: border-box; }
.layerform .minicolors { display: block; }
/* consistent bootstrap-style action row: full-width stacked buttons */
.layerform input[type="submit"],
.layerform input[type="reset"],
.layerform button:not(.lf-close) {
	display: block;
	box-sizing: border-box;
	width: 100% !important;
	margin: 8px 0 0;
}
/* secondary/cancel actions stay neutral */
.layerform button:not(.lf-close) {
	background: #f1f5f9;
	border-color: var(--line);
}
.layerform button:not(.lf-close):hover { background: #e2e8f0; }
/* delete action is clearly destructive */
.layerform #chgbtndel {
	background: #fee2e2;
	border-color: #fca5a5;
	color: #991b1b !important;
}
.layerform #chgbtndel:hover { background: #fecaca; }
.layerform hr { margin: 8px 0 12px; border-color: var(--line); }
/* section captions ("Mieter" etc.) */
.layerform strong {
	display: block;
	margin: 2px 0 10px;
	font-size: 0.8em;
	font-weight: 700;
	letter-spacing: 0.7px;
	text-transform: uppercase;
	color: var(--muted);
}
/* real field labels sit tight above their input, click focuses the field */
.layerform label.lfield {
	display: block;
	margin: 6px 0 -2px;
	font-size: 0.78em;
	font-weight: 600;
	letter-spacing: 0.3px;
	color: var(--muted);
	cursor: pointer;
}
/* bigger, more readable dialog text */
.layerform,
.layerform input,
.layerform select,
.layerform textarea,
.layerform button { font-size: 15px; }
/* collapsible Mieter section: full-width "mehr anzeigen" row with a green + */
.layerform .mieter-toggle {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	box-sizing: border-box;
	width: 100% !important;
	min-height: 40px;
	padding: 8px 14px;
	margin: 6px 0 14px;
	border: 1px dashed var(--line);
	border-radius: 8px;
	background: #f8fafc;
	color: var(--muted) !important;
	font-size: 0.85em;
	font-weight: 600;
	letter-spacing: 0.3px;
}
.layerform .mieter-toggle:hover {
	background: #f1f5f9;
	border-color: #16a34a;
	color: var(--ink) !important;
}
.mieter-body { display: none; }
/* status radios become labelled segmented chips.
   The German label comes from the span's title attribute. */
.layerform label span.cstat {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 20px;
	margin: 2px 6px 10px 0;
	color: #fff;
	text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);
	font-weight: 600;
	cursor: pointer;
	transition: transform 0.08s, box-shadow 0.15s;
}
.layerform label span.cstat::after {
	content: attr(title);
	font-size: 12px;
}
.layerform label span.cstat.cstat-y {
	color: #713f12;
	text-shadow: none;
}
.layerform label span.cstat input[type="radio"] {
	margin: 0;
	width: 14px;
	height: 14px;
}
.layerform label span.cstat:hover { filter: brightness(1.06); }
.layerform label span.cstat:has(input:checked) {
	outline: 2px solid #111;
	outline-offset: 1px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}
/* "Stornieren" toggle rendered as a matching neutral chip */
.layerform label span[title="Stornieren"] {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 14px;
	border-radius: 20px;
	margin: 2px 6px 10px 0;
	background: #f1f5f9;
	border: 1px solid var(--line);
	font-weight: 600;
	cursor: pointer;
}
.layerform label span[title="Stornieren"]:has(input:checked) {
	background: #fee2e2;
	border-color: #fca5a5;
	color: #991b1b;
}
.layerform input.termCustStorno { accent-color: var(--danger); margin: 0; }
#chgtermAdmin { font-weight: 600; color: var(--muted); }
.layerform input[type="radio"], .layerform input[type="checkbox"] { margin: 0 4px 0 0; }

/* right-side drawer on desktop */
@media (min-width: 761px) {
	.layerform:not(#aTermInfo) {
		position: fixed !important;
		top: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		left: auto !important;
		width: min(400px, 96vw) !important;
		height: 100vh !important;
		max-height: 100vh;
		margin: 0 !important;
		border: none;
		border-left: 1px solid var(--line);
		border-radius: 0;
		overflow-y: auto;
		animation: lfSlideRight 0.22s ease;
	}
	.layerform:not(#aTermInfo) legend { border-radius: 0; }
}
/* transform-only: jQuery fadeIn()/show() animates opacity itself */
@keyframes lfSlideRight {
	from { transform: translateX(48px); }
	to   { transform: none; }
}
/* bottom sheet on mobile */
@media (max-width: 760px) {
	.layerform:not(#aTermInfo) {
		position: fixed !important;
		top: auto !important;
		right: 0 !important;
		bottom: 0 !important;
		left: 0 !important;
		width: 100vw !important;
		max-width: none !important;
		height: auto !important;
		max-height: 86vh;
		margin: 0 !important;
		border: none;
		border-top: 1px solid var(--line);
		border-radius: 18px 18px 0 0;
		overflow-y: auto;
		animation: lfSlideUp 0.22s ease;
	}
	/* drag-handle look */
	.layerform:not(#aTermInfo)::before {
		content: "";
		display: block;
		width: 42px;
		height: 4px;
		margin: 8px auto 0;
		border-radius: 4px;
		background: var(--line);
	}
}
@keyframes lfSlideUp {
	from { transform: translateY(48px); }
	to   { transform: none; }
}

/* ---------- jQuery UI polish ---------- */
.ui-widget { font-family: inherit; }
.ui-dialog { border-radius: 10px; box-shadow: var(--shadow-lg); }
.ui-dialog .ui-dialog-titlebar {
	background: #374151;
	color: #fff;
	border: none;
	border-radius: 10px 10px 0 0;
}
.ui-widget-content { border-color: var(--line); }
.ui-state-default, .ui-widget-content .ui-state-default {
	border: 1px solid var(--line);
	background: #f9fafb;
}
.ui-state-hover, .ui-widget-content .ui-state-hover {
	background: var(--accent);
	border-color: var(--accent-dark);
}
.ui-state-active, .ui-widget-content .ui-state-active {
	background: var(--accent-dark);
	border-color: var(--accent-dark);
}
.ui-state-highlight, .ui-widget-content .ui-state-highlight {
	background: #fff7dd;
	border-color: var(--accent);
}

/* ---------- Touch targets ---------- */
.button, .basicbtn, div a.basicbtn,
input[type="submit"], button { min-height: 34px; }
#menubox li a { min-height: 44px; box-sizing: border-box; display: flex; align-items: center; }
.layerform input[type="radio"], .layerform input[type="checkbox"] {
	width: 18px; height: 18px; vertical-align: middle;
}

/* ---------- Mobile / small screens ---------- */
@media (max-width: 760px) {
	#indexmenu, #logindiv, #userdiv, #locationsdiv,
	#carsdiv, #blacklistdiv, #placelistdiv {
		width: auto;
		margin: 14px 8px;
		padding: 18px 16px;
	}
	#indexmenu img, #logindiv img { max-width: 100%; height: auto; }
	#calmenu { font-size: 10pt; }
	#calmenu a { padding: 10px 12px; }
	/* wrapped filter controls need more room before clipping */
	/* info tooltip stays a compact card on phones */
	#aTermInfo.layerform {
		left: 3vw !important;
		width: 94vw !important;
		max-width: 360px;
		box-sizing: border-box;
	}
	/* 16px inputs stop iOS auto-zoom on focus */
	input, select, textarea { font-size: 16px !important; }
	#tableDiv_General .termname { font-size: 13px; }
	/* registration fieldset no longer fixed-width */
	#logindiv fieldset { width: auto !important; }
}
