/* ==========================================================================
   Brandmeldlogboek
   Opbouw: variabelen, basis, knoppen, formulieren, inloggen, kop,
   zijbalk, meldingkaarten, filters, documenten en tabellen, meldingen.
   Let op: de volgorde telt; regels met dezelfde specificiteit overschrijven
   elkaar van boven naar beneden.
   ========================================================================== */


/* --- Variabelen -------------------------------------------------------- */

:root {
	--bml-text: #3c424f;
	--bml-muted: #777;
	--bml-border: #e3e8ea;
	--bml-input-border: #cfd8dc;
}


/* --- Basis ------------------------------------------------------------- */

.bml-wrap {
	--bml: #0793a7;
	max-width: 1800px;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 14px;
	color: var(--bml-text);
}

.bml-wrap h2,
.bml-wrap h3 {
	font-family: Muli, Helvetica, Arial, sans-serif;
	font-weight: 600;
	color: var(--bml-text);
}

.bml-wrap h2 {
	display: inline-block;
	margin: .6em 0;
	padding-bottom: .25em;
	border-bottom: 2px solid var(--bml);
}

.bml-wrap h2.bml-h-nieuw {
	font-size: 1.5em;
	font-weight: 700;
	margin-top: 1em;
}

.bml-wrap a {
	color: var(--bml);
	text-decoration: none;
}

.bml-wrap a:hover {
	text-decoration: underline;
}

.bml-meta {
	color: var(--bml-muted);
	font-size: .85em;
}

.bml-center {
	text-align: center;
}

.bml-bad {
	color: #c62828;
}


/* --- Knoppen ----------------------------------------------------------- */

.bml-wrap .button,
.bml-wrap button,
.bml-wrap input[type=submit],
.bml-wrap summary.button {
	background: var(--bml);
	color: #fff;
	border: 1px solid var(--bml);
	border-radius: 5px;
	text-transform: uppercase;
	font-family: "Open Sans", Helvetica, Arial, sans-serif;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .06em;
	padding: .9em 1.6em;
	line-height: 1.2;
	cursor: pointer;
	box-shadow: none;
	text-shadow: none;
}

.bml-wrap .button:hover,
.bml-wrap button:hover,
.bml-wrap summary.button:hover {
	background: #067a8b;
	border-color: #067a8b;
	color: #fff;
	text-decoration: none;
}

.bml-wrap a.bml-logout {
	display: block;
	color: #fff;
	white-space: nowrap;
	text-align: center;
	font-size: 12px;
	padding: 1em 1.6em;
}


/* --- Formuliervelden --------------------------------------------------- */

.bml-wrap input[type=text],
.bml-wrap input[type=search],
.bml-wrap input[type=date],
.bml-wrap input[type=datetime-local],
.bml-wrap select,
.bml-wrap textarea {
	border: 1px solid var(--bml-input-border);
	border-radius: 5px;
	padding: .55em .7em;
	font-family: inherit;
	font-size: inherit;
	color: var(--bml-text);
	background: #fff;
}

.bml-wrap input:focus,
.bml-wrap select:focus,
.bml-wrap textarea:focus {
	outline: none;
	border-color: var(--bml);
	box-shadow: 0 0 0 2px rgba(7, 147, 167, .15);
}

.bml-wrap .bml-row input,
.bml-wrap .bml-row select {
	width: 100%;
	box-sizing: border-box;
}

.bml-wrap .bml-locline {
	margin-top: .2em;
	text-transform: uppercase;
	letter-spacing: .08em;
	font-size: 1.7em;
	line-height: 1.2;
	color: var(--bml);
	font-weight: 600;
	font-family: Muli, Helvetica, Arial, sans-serif;
}

.bml-locline strong {
	color: var(--bml-text);
}

/* Keuzelijst voor de installatie, in dezelfde stijl als de locatieregel. */
.bml-wrap .bml-locpick {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .3em;
}

.bml-wrap .bml-locpick label {
	display: inline;
	margin: 0;
	color: var(--bml);
}

.bml-wrap .bml-locpick select {
	flex: 0 1 auto;
	max-width: 100%;
	padding: .15em 2em .15em .4em;
	font: inherit;
	font-size: .8em;
	letter-spacing: normal;
	text-transform: none;
	color: var(--bml-text);
	border: 1px solid var(--bml-input-border);
	border-radius: 4px;
	background-color: #fff;
}


/* --- Inloggen ---------------------------------------------------------- */

.bml-login-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 3em;
	align-items: center;
}

.bml-login-box form p {
	margin: 0 0 .9em;
}

.bml-login-box label {
	display: block;
	margin: 0 0 .25em;
	font-weight: 600;
}

.bml-login-box .login-remember label {
	display: inline;
	font-weight: 400;
}

.bml-wrap .bml-login-box input[type=text],
.bml-wrap .bml-login-box input[type=password] {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid var(--bml-input-border);
	border-radius: 5px;
	padding: .6em .8em;
	font-family: inherit;
	font-size: inherit;
}

.bml-login-side {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
	border-left: 2px solid var(--bml-border);
	padding-left: 2em;
}

/* Alleen de tekst telt mee voor het midden, niet de marge eronder. */
.bml-login-side .bml-intro,
.bml-login-side .bml-intro p:last-child {
	margin-bottom: 0;
}

.bml-intro {
	margin-bottom: 1.4em;
	font-size: 1.05em;
	line-height: 1.6;
}

.bml-intro p {
	margin: 0 0 .8em;
}

@media (max-width: 800px) {
	.bml-login-layout {
		grid-template-columns: 1fr;
		gap: 1.5em;
	}

	.bml-login-side {
		border-left: 0;
		padding-left: 0;
		border-top: 2px solid var(--bml-border);
		padding-top: 1.2em;
	}
}


/* --- Labels, tekstvlak en rijen (na inloggen i.v.m. volgorde) ---------- */

.bml-wrap label {
	display: block;
	margin: .8em 0 .2em;
	font-weight: 600;
	color: var(--bml-text);
}

.bml-wrap textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 90px;
}

.bml-wrap input.bml-plek {
	width: 100%;
	box-sizing: border-box;
}

.bml-wrap .bml-row {
	display: flex;
	gap: 1em;
	flex-wrap: wrap;
}

.bml-wrap .bml-row > div {
	flex: 1;
	min-width: 200px;
}


/* --- Kop: logo, uitloggen, versie -------------------------------------- */

.bml-top {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1em;
	flex-wrap: wrap;
	margin: 0 0 1.2em;
}

.bml-top .bml-logo {
	margin: 0;
}

.bml-top-right {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: .4em;
}

.bml-version {
	font-size: .8em;
	color: var(--bml-muted);
	text-align: center;
	white-space: nowrap;
}

.bml-logo {
	display: block;
	width: 400px;
	max-width: 85%;
	height: auto;
	margin: 0 0 1.2em;
}


/* --- Pagina-indeling --------------------------------------------------- */

.bml-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	grid-template-rows: auto auto 1fr;
	gap: 0 2em;
	align-items: start;
}

.bml-main {
	grid-column: 1;
	grid-row: 1 / span 3;
	min-width: 0;
}

/* Locatie met foto rechtsboven, boven de controles. */
.bml-locatieblok {
	grid-column: 2;
	grid-row: 1;
}

.bml-status {
	grid-column: 2;
	grid-row: 2;
}

.bml-side {
	grid-column: 2;
	grid-row: 3;
}

/* Telefoon: locatie, dan de status compact, dan het formulier en het logboek. */
@media (max-width: 900px) {
	.bml-layout {
		display: flex;
		flex-direction: column;
		align-items: stretch;
	}

	.bml-main {
		display: contents;
	}

	.bml-main > * {
		order: 2;
		min-width: 0;
	}

	.bml-main > .bml-locline {
		order: -1;
	}

	.bml-status {
		order: 1;
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
		gap: .6em;
		margin: .8em 0 .4em;
		font-size: 12px;
	}

	/* De locatie staat boven de rest van Info. */
	.bml-locatieblok,
	.bml-side {
		order: 3;
		margin-top: 1em;
	}
}


/* --- Tabbladen (telefoon en tablet rechtop) ---------------------------- */

.bml-tabs {
	display: none;
}

/* Het script zet data-bml-tab; zonder script blijft alles onder elkaar staan. */
@media (max-width: 900px) {
	.bml-layout[data-bml-tab] .bml-tabs {
		order: 0;
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		position: sticky;
		/* --lb-kop-onder komt van het thema: de onderkant van de vaste kopbalk. */
		top: var(--lb-kop-onder, var(--wp-admin--admin-bar--height, 0px));
		z-index: 5;
		margin: .4em 0 1em;
		background: #fff;
		border-bottom: 1px solid var(--bml-border);
	}

	/* Bij het wisselen van tabblad komt het begin onder de kopbalk te staan, niet erachter. */
	.bml-layout[data-bml-tab] {
		scroll-margin-top: var(--lb-kop-onder, 0px);
	}

	.bml-wrap .bml-tabs button {
		min-height: 46px;
		padding: .6em .2em;
		background: none;
		color: var(--bml-muted);
		border: 0;
		border-bottom: 3px solid transparent;
		border-radius: 0;
		font-size: 13px;
		letter-spacing: 0;
		text-transform: none;
	}

	.bml-wrap .bml-tabs button:hover {
		background: none;
		color: var(--bml-text);
	}

	.bml-wrap .bml-tabs button[aria-current] {
		color: var(--bml);
		border-bottom-color: var(--bml);
	}

	.bml-layout[data-bml-tab] .bml-paneel,
	.bml-layout[data-bml-tab] .bml-status,
	.bml-layout[data-bml-tab] .bml-locatieblok,
	.bml-layout[data-bml-tab] .bml-side {
		display: none;
	}

	.bml-layout[data-bml-tab="melden"] .bml-p-melden,
	.bml-layout[data-bml-tab="info"] .bml-locatieblok,
	.bml-layout[data-bml-tab="info"] .bml-side {
		display: block;
		margin-top: 0;
	}

	.bml-layout[data-bml-tab="status"] .bml-status {
		display: grid;
		margin-top: 0;
	}

	/* Zoeken boven de meldingen, zodat het niet onder de paginanummers verdwijnt. */
	.bml-layout[data-bml-tab="logboek"] .bml-p-logboek {
		display: flex;
		flex-direction: column;
	}

	.bml-layout[data-bml-tab] .bml-p-logboek .bml-filter {
		order: -1;
		margin: 0 0 1.2em;
	}

	/* De kop staat al op het tabblad; hij blijft bestaan als anker en voor schermlezers. */
	.bml-layout[data-bml-tab] .bml-paneel > h2 {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: 0;
		padding: 0;
		border: 0;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
		scroll-margin-top: calc(var(--lb-kop-onder, 0px) + 6em);
	}

	.bml-layout[data-bml-tab] .bml-p-melden {
		scroll-margin-top: calc(var(--lb-kop-onder, 0px) + 6em);
	}

	.bml-layout[data-bml-tab] .bml-p-melden form > .bml-row:first-of-type label {
		margin-top: 0;
	}
}

/* Onder 600 px schuift de beheerbalk van WordPress mee weg. */
@media (max-width: 600px) {
	.bml-layout[data-bml-tab] .bml-tabs {
		top: var(--lb-kop-onder, 0px);
	}
}


/* --- Zijbalk: blokken, cirkelgrafiek, legenda -------------------------- */

.bml-box {
	border: 1px solid var(--bml-border);
	border-radius: 5px;
	padding: 1em 1.2em;
	margin-bottom: 1em;
	background: #fff;
}

.bml-box-title {
	margin: 0 0 .5em;
	font-size: 1.1em;
}

.bml-donut {
	display: block;
	width: 190px;
	max-width: 100%;
	margin: .6em auto;
}

.bml-donut a {
	cursor: pointer;
}

.bml-donut a:hover circle {
	stroke-width: 7;
}

.bml-per {
	font-size: .9em;
	text-align: center;
	margin-bottom: .6em;
}

.bml-per a.active {
	font-weight: 700;
	color: var(--bml-text);
}

.bml-legend {
	list-style: none;
	margin: .6em 0 0;
	padding: 0;
}

.bml-legend li {
	display: flex;
	align-items: center;
	gap: .6em;
	padding: .2em 0;
}

.bml-legend li a {
	flex: 1;
	color: var(--bml-text);
}

.bml-legend li b {
	font-weight: 600;
}

.bml-legend .bml-zero a,
.bml-legend .bml-zero b {
	opacity: .45;
}

.bml-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	flex: none;
}


/* --- Zijbalk: controles (onderhoud en beheer) -------------------------- */

.bml-checks {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bml-checks li {
	display: flex;
	align-items: center;
	gap: .7em;
	padding: .35em 0;
}

.bml-checks li b {
	display: block;
	font-weight: 600;
}

.bml-checks li small {
	display: block;
	color: var(--bml-muted);
	font-size: .85em;
}

.bml-checks .bml-checks-loc {
	margin-top: .4em;
	padding-bottom: 0;
	font-weight: 700;
	font-size: .9em;
}

.bml-checks .bml-checks-loc:first-child {
	margin-top: 0;
}

.bml-light {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	flex: none;
}

.bml-light.ok {
	background: #2e7d32;
	box-shadow: 0 0 0 3px rgba(46, 125, 50, .18);
}

.bml-light.bad {
	background: #c62828;
	box-shadow: 0 0 0 3px rgba(198, 40, 40, .18);
}

/* Portaal, beheerder: per locatie één regel met een bolletje per controle. */
.bml-checks-kort li {
	padding: .2em 0;
}

.bml-wrap .bml-checks-kort a {
	display: flex;
	align-items: center;
	gap: .5em;
	min-width: 0;
	color: inherit;
}

.bml-status .bml-checks-kort .bml-light {
	width: 12px;
	height: 12px;
	margin-top: 0;
}


/* --- Zijbalk: beschikbaarheid, installatie, wijzigingen ---------------- */

.bml-avail li {
	justify-content: space-between;
	gap: .6em;
}

.bml-avail-pct {
	font-size: 2em;
	font-weight: 700;
	text-align: center;
	line-height: 1.2;
}

.bml-avail-pct.ok {
	color: #2e7d32;
}

.bml-avail-pct.bad {
	color: #c62828;
}

.bml-bar-track {
	height: 8px;
	background: var(--bml-border);
	border-radius: 4px;
	margin: .6em 0;
	overflow: hidden;
}

.bml-bar-track span {
	display: block;
	height: 100%;
}

.bml-install {
	margin-bottom: .8em;
}

.bml-install div {
	margin-top: .2em;
	font-size: .95em;
}

/* Telefoon: de drie statusblokken compact, met de grafiek naast de legenda. */
@media (max-width: 900px) {
	.bml-status .bml-box {
		display: grid;
		grid-template-columns: auto minmax(0, 1fr);
		column-gap: .9em;
		align-items: center;
		align-content: start;
		margin: 0;
		padding: .6em .8em;
	}

	.bml-status .bml-box > * {
		grid-column: 1 / -1;
	}

	.bml-status .bml-box-title {
		grid-column: 1;
		margin: 0 0 .3em;
		font-size: 1.05em;
	}

	.bml-status .bml-per {
		grid-column: 2;
		margin: 0 0 .3em;
		text-align: right;
	}

	.bml-status .bml-donut {
		grid-column: 1;
		width: 96px;
		margin: 0;
	}

	.bml-status .bml-donut + .bml-legend {
		grid-column: 2;
		margin: 0;
	}

	.bml-status .bml-legend li {
		padding: .1em 0;
	}

	.bml-status .bml-dot {
		width: 9px;
		height: 9px;
	}

	.bml-status .bml-box > .bml-meta {
		margin: .3em 0 0;
	}

	.bml-status .bml-avail-pct {
		grid-column: 1;
		font-size: 1.7em;
	}

	.bml-status .bml-avail-pct + .bml-meta {
		grid-column: 2;
		margin: 0;
		text-align: left;
	}

	.bml-status .bml-bar-track {
		height: 6px;
		margin: .4em 0;
	}

	.bml-status .bml-avail {
		margin: 0;
	}

	.bml-status .bml-checks {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
		gap: 0 1em;
	}

	.bml-status .bml-checks li {
		align-items: flex-start;
		padding: .2em 0;
	}

	.bml-status .bml-checks-loc {
		grid-column: 1 / -1;
	}

	.bml-status .bml-light {
		width: 12px;
		height: 12px;
		margin-top: .25em;
	}
}

/* Tablet rechtop: elk statusblok over de hele breedte, met de legenda in twee kolommen. */
@media (min-width: 600px) and (max-width: 900px) {
	.bml-status {
		grid-template-columns: 1fr;
	}

	.bml-status .bml-donut {
		width: 120px;
	}

	.bml-status .bml-donut + .bml-legend,
	.bml-status .bml-avail {
		columns: 2;
		column-gap: 2.4em;
	}

	.bml-status .bml-legend li {
		break-inside: avoid;
	}

	.bml-status .bml-checks {
		grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	}
}

.bml-wijz summary {
	cursor: pointer;
	display: block;
	text-align: center;
	list-style: none;
}

.bml-wijz summary::-webkit-details-marker {
	display: none;
}

.bml-wijz form {
	margin-top: .8em;
}

.bml-more {
	margin-top: .6em;
}

.bml-more summary {
	cursor: pointer;
	color: #555;
	font-weight: 600;
	font-size: .9em;
}


/* --- Meldingkaarten ---------------------------------------------------- */

.bml-card {
	border: 1px solid var(--bml-border);
	border-left: 6px solid var(--c, #9e9e9e);
	border-radius: 5px;
	margin: 0 0 1em;
	background: #fff;
	overflow: hidden;
}

/* Kleur per soort melding (de kaart gebruikt --c voor de rand). */
.bml-g-brand     { --c: #c62828; }
.bml-g-vooralarm { --c: #ef6c00; }
.bml-g-storing   { --c: #f9a825; }
.bml-g-overig    { --c: #43a047; }

.bml-card-head {
	display: flex;
	gap: .8em;
	align-items: baseline;
	padding: .7em 1em .3em;
}

.bml-date {
	font-family: Muli, Helvetica, Arial, sans-serif;
	font-weight: 700;
	font-size: 1.05em;
}

.bml-time {
	color: #555;
}

.bml-edit,
.bml-del {
	margin-left: auto;
	font-size: .85em;
}

.bml-edit + .bml-del {
	margin-left: 0;
}

/* Vragenlijst in het meldformulier: vraag, keuze en opmerking naast elkaar. */
.bml-wrap .bml-checklist {
	min-width: 0;
	margin: 1.2em 0 0;
	padding: .4em 1em 1em;
	border: 1px solid var(--bml-border);
	border-radius: 5px;
}

.bml-wrap .bml-checklist[hidden] {
	display: none;
}

.bml-checklist legend {
	padding: 0 .4em;
	font-family: Muli, Helvetica, Arial, sans-serif;
	font-weight: 700;
}

.bml-checklist h4,
.bml-rapport h4 {
	margin: 1em 0 .3em;
	font-size: 1em;
	font-weight: 600;
}

.bml-cl-rij {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 14em);
	gap: .3em 1em;
	align-items: center;
	padding: .35em 0;
	border-top: 1px solid var(--bml-border);
}

.bml-cl-keuze {
	display: flex;
	gap: 1em;
	white-space: nowrap;
}

.bml-wrap .bml-cl-keuze label {
	display: inline;
	margin: 0;
	font-weight: 400;
}

.bml-wrap .bml-cl-rij input[type=text] {
	width: 100%;
	box-sizing: border-box;
	padding: .35em .6em;
}

@media (max-width: 700px) {
	.bml-cl-rij {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Het ingevulde rapport op de kaart. */
.bml-rapport {
	padding: .2em 1em .8em;
}

.bml-rapport summary {
	cursor: pointer;
	color: var(--bml, #0793a7);
	font-weight: 600;
}

.bml-rapport ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.bml-rapport li {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 4em;
	gap: 0 1em;
	padding: .25em 0;
	border-top: 1px solid var(--bml-border);
}

.bml-rapport li b {
	font-weight: 600;
}

.bml-rapport li small {
	grid-column: 1 / -1;
	color: var(--bml-muted);
}

.bml-card .bml-gewijzigd {
	margin: .3em 1em .7em;
}

.bml-annuleer {
	margin-left: .8em;
}

/* Tussentijds opgeslagen meldingen boven het meldformulier. */
.bml-concepten {
	margin: 0 0 1.2em;
	padding: .8em 1em;
	border: 1px solid var(--bml-border);
	border-left: 4px solid var(--bml);
	border-radius: 4px;
	background: #f7fbfc;
}

.bml-wrap .bml-concepten h3 {
	margin: 0 0 .5em;
	font-size: 1em;
}

.bml-concepten ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.bml-concepten li {
	display: flex;
	flex-wrap: wrap;
	gap: .4em 1em;
	align-items: center;
	justify-content: space-between;
	padding: .4em 0;
	border-top: 1px solid var(--bml-border);
}

.bml-concepten li:first-child {
	border-top: 0;
}

.bml-concepten small {
	display: block;
	color: var(--bml-muted);
}

.bml-wrap .bml-concept-weg {
	margin-left: .6em;
	color: #c62828;
}

.bml-concept-info {
	padding: .6em .8em;
	border-radius: 4px;
	background: #fff8e1;
}

/* Het formulier mag na een klik op Wijzig niet achter de vaste kopbalk staan. */
.bml-p-melden {
	scroll-margin-top: calc(var(--lb-kop-onder, 0px) + 1em);
}

.bml-doc-upload,
.bml-install-form {
	margin-top: 1em;
}

.bml-install-form form + form {
	margin-top: 1.2em;
}

.bml-bar {
	display: flex;
	flex-wrap: wrap;
	gap: .5em 2em;
	margin: .3em 1em;
	padding: .6em .9em;
	background: #f4f7f8;
	border-radius: 5px;
}

.bml-bar b {
	font-weight: 600;
}

.bml-bar-2 {
	margin-top: .4em;
}

.bml-bar small,
.bml-opm small {
	display: block;
	color: var(--bml-muted);
	font-size: .75em;
	text-transform: uppercase;
	letter-spacing: .03em;
}

.bml-opm {
	padding: .2em 1em .8em;
}

.bml-opm p {
	margin: .2em 0 0;
}

.bml-echt {
	color: #b00020;
	font-weight: 700;
}

.bml-onecht {
	color: #555;
}


/* --- Zoeken en filters ------------------------------------------------- */

.bml-filter {
	margin: 1.5em 0;
}

.bml-search {
	position: relative;
	display: flex;
	gap: .5em;
	align-items: stretch;
}

.bml-search svg {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	width: 18px;
	height: 18px;
	opacity: .55;
	pointer-events: none;
}

.bml-wrap .bml-search input[type=search] {
	flex: 1;
	padding: .7em .8em .7em 2.4em;
}

.bml-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: .8em;
	margin-top: .8em;
}

.bml-filter .bml-grid label {
	display: block;
	margin: 0 0 .2em;
	font-weight: 500;
	font-size: .85em;
}

.bml-grid select,
.bml-grid input {
	width: 100%;
	box-sizing: border-box;
}

.bml-clear {
	display: inline-block;
	margin-top: .6em;
	font-size: .85em;
}


/* --- Paginanummers onder het logboek ----------------------------------- */

.bml-pages {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .35em;
	margin: 1.2em 0;
}

.bml-pages .page-numbers {
	min-width: 2.4em;
	padding: .45em .7em;
	border: 1px solid var(--bml-border);
	border-radius: 5px;
	text-align: center;
	color: var(--bml-text);
	background: #fff;
	font-variant-numeric: tabular-nums;
}

.bml-wrap .bml-pages a.page-numbers:hover {
	border-color: var(--bml);
	color: var(--bml);
	text-decoration: none;
}

.bml-pages .page-numbers.current {
	background: var(--bml);
	border-color: var(--bml);
	color: #fff;
	font-weight: 700;
}

.bml-pages .page-numbers.dots {
	border-color: transparent;
	background: none;
	min-width: 0;
}


/* --- Documenten en tabellen -------------------------------------------- */

.bml-docs {
	list-style: none;
	margin: .3em 0 1em;
	padding: 0;
}

.bml-docs li {
	padding: .35em 0;
	border-bottom: 1px solid #eee;
}

.bml-doc-loc {
	margin: 1em 0 .2em;
}

.bml-doc-cat {
	margin: .9em 0 .1em;
	font-size: .85em;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--bml-muted);
}

/* Info: de kopjes zijn de titels van de blokken, groot en zwart. */
.bml-side .bml-box-title,
.bml-locatieblok .bml-box-title,
.bml-side .bml-doc-cat {
	margin: 0 0 .4em;
	font-size: 1.35em;
	font-weight: 700;
	letter-spacing: normal;
	text-transform: none;
	color: #000;
}

.bml-side .bml-docs + .bml-doc-cat {
	margin-top: 1em;
}

.bml-side .bml-docs li,
.bml-side .bml-install div {
	font-size: 1.05em;
	color: #000;
}

/* Eerst een locatie kiezen: verder staat er nog niets. */
.bml-kies {
	margin: 1em 0 3em;
	font-size: 1.1em;
}

.bml-releasenotes ul {
	margin: .3em 0 0 1.2em;
}

.bml-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 1em;
}

.bml-table th,
.bml-table td {
	border: 1px solid #ddd;
	padding: 6px 8px;
	text-align: left;
	vertical-align: top;
}


/* --- Meldingen (succes en fout) ---------------------------------------- */

.bml-notice {
	padding: .7em 1em;
	margin: 1em 0;
	border-left: 4px solid #2e7d32;
	background: #eef7ee;
}

.bml-notice.err {
	border-color: #b00020;
	background: #fdecee;
}

/* Blok Locatie: foto, adres en contactpersoon */
.bml-locatie + .bml-locatie {
	margin-top: 16px;
	padding-top: 16px;
	border-top: 1px solid #e3e8ea;
}
.bml-locfoto {
	display: block;
	width: 100%;
	max-height: 220px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 10px;
}
.bml-locatie address {
	font-style: normal;
	margin: 4px 0 8px;
}
.bml-contact a {
	word-break: break-all;
}
.bml-locfoto-klein {
	max-width: 160px;
	max-height: 110px;
	border-radius: 4px;
	margin: 4px 0;
}
.bml-locdetails {
	margin: 6px 0 10px;
}
.bml-locdetails summary {
	cursor: pointer;
	font-weight: 600;
}
.bml-locveld {
	margin: 8px 0;
}
.bml-install-form .bml-locveld input[type="text"],
.bml-install-form .bml-locveld input[type="tel"],
.bml-install-form .bml-locveld input[type="email"] {
	width: 100%;
	box-sizing: border-box;
}
.bml-install-form h4 {
	margin: 12px 0 4px;
}
