/* Startpagina Brain — layout. Kleuren en vormen komen uitsluitend uit theme.css (dezelfde als de dashboards). */

.wrap {
  position: relative;
  z-index: 1;
  max-width: 60rem;
  margin: 0 auto;
  padding-block: 18px 56px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* het blok met het logo: smal voor inloggen en meldingen, breder voor de keuze */
.panel {
  max-width: 34rem;
  margin: 12vh auto 0;
  padding: clamp(1.1rem, .9rem + 1vw, 1.7rem);
  display: flex;
  flex-direction: column;
}
.panel--wide { max-width: 52rem; }
/* de A heeft lucht in zijn vak, dus iets naar links voor één lijn met de tekst */
.panel__mark { display: block; width: 56px; height: 56px; margin: -4px 0 14px -9px; }
.panel h1 { margin: .35em 0 .3em; font-size: 1.7rem; letter-spacing: -0.03em; line-height: 1.15; }
.panel p { margin: 0; color: var(--ink-soft); }

/* formulier */
.authform { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field span { font-size: .8rem; font-weight: 600; color: var(--ink-soft); }
.authform input {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--input-bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: .6em .8em;
}
.authform input:focus { outline: 2px solid var(--focus); outline-offset: 1px; }
.panel .form__err { color: var(--bad); font-size: .86rem; }
.form__err[hidden] { display: none; }
.btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* de dashboards */
.tiles {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 14px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 1.15rem 1.2rem 1.1rem;
  border-radius: var(--r);
  border: 1px solid var(--line-strong);
  background: var(--tile-fill);
  color: var(--ink);
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .2s, box-shadow .25s var(--ease);
}
.tile:hover, .tile:focus-visible { transform: translateY(-3px); border-color: var(--focus); box-shadow: var(--shadow-soft); }
.tile:active { transform: scale(.985); }
.tile__name { font: 620 1.3rem/1.2 var(--font-display); letter-spacing: -0.025em; }
.tile__sub { font-size: .86rem; color: var(--ink-soft); flex: 1; }
.tile__go { margin-top: 10px; font-size: .82rem; font-weight: 600; color: var(--accent-deep); }
.tile__go::after { content: " \2192"; }

.foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  color: var(--ink-soft);
}
.foot span { overflow-wrap: anywhere; }
