/* Mijn Aika — rustig en compact. De huisstijl van aika.nl en de Aika-mails:
   warm wit, inkt, eiken als accent, Crimson Pro voor koppen, DM Sans voor de
   rest. Senne, 30 september 2026: "really clean", niet als een blog. Dus weinig
   tekst, korte koppen, en per scherm één duidelijke handeling. */
:root {
  --inkt: #1c1b19; --zacht: #6b665f; --licht: #9a948b; --eik: #7a685a; --eik-licht: #efe8df; --lijn: #e8e2d9;
  --achtergrond: #f5f2ed; --vlak: #f8f6f2; --wit: #ffffff;
  --goed: #4f6b4a; --goed-vlak: #eef2ec; --let: #946a34; --let-vlak: #f7f0e5; --fout: #9b3a2e; --fout-vlak: #f8ecea;
  --serif: 'Crimson Pro', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --menu: 232px; --rond: 6px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--achtergrond); color: var(--inkt); font-family: var(--sans); font-size: 14.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: 30px; line-height: 1.15; }
h2 { font-size: 21px; line-height: 1.25; }
h3 { font-size: 17px; line-height: 1.3; }
p { margin: 0; }
.klein { font-size: 12.5px; color: var(--zacht); }
.zacht { color: var(--zacht); }
.label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--licht); }
[hidden] { display: none !important; }

/* ── Geraamte ─────────────────────────────────────────────────────────── */
.balk { position: sticky; top: 0; z-index: 20; height: 60px; background: var(--wit); border-bottom: 1px solid var(--lijn); display: flex; align-items: center; gap: 14px; padding: 0 22px; }
.logo { font-family: var(--serif); font-size: 25px; letter-spacing: .04em; text-decoration: none; display: flex; align-items: baseline; gap: 10px; }
.logo small { font-family: var(--sans); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--eik); }
.balk .rechts { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 13.5px; }
.balk .rechts a { text-decoration: none; color: var(--zacht); }
.balk .rechts a:hover { color: var(--inkt); }
.menuknop { display: none; background: none; border: 0; padding: 8px; margin-left: -8px; cursor: pointer; }
.menuknop svg { width: 22px; height: 22px; }

.geheel { display: grid; grid-template-columns: var(--menu) minmax(0, 1fr); min-height: calc(100vh - 60px); }
nav.zij { background: var(--wit); border-right: 1px solid var(--lijn); padding: 18px 12px; position: sticky; top: 60px; height: calc(100vh - 60px); overflow-y: auto; display: flex; flex-direction: column; gap: 2px; }
nav.zij .wie { display: flex; align-items: center; gap: 10px; padding: 4px 10px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--lijn); }
.monogram { width: 34px; height: 34px; border-radius: 50%; background: var(--eik-licht); color: var(--eik); display: grid; place-items: center; font-family: var(--sans); font-size: 12.5px; font-weight: 500; letter-spacing: .04em; flex: none; line-height: 1; }
nav.zij .wie strong { display: block; font-weight: 500; font-size: 13.5px; line-height: 1.3; }
/* Alleen het mailadres onder de naam; eerst ving deze regel ook het monogram
   (een span), en dan stonden de letters als 12px-tekst linksboven in het rondje. */
nav.zij .wie div span { display: block; font-size: 12px; color: var(--zacht); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
nav.zij a, nav.zij button.link { display: flex; align-items: center; gap: 11px; width: 100%; padding: 9px 10px; border-radius: 5px; text-decoration: none; color: var(--zacht); font-size: 14px; background: none; border: 0; cursor: pointer; text-align: left; }
nav.zij a:hover, nav.zij button.link:hover { background: var(--vlak); color: var(--inkt); }
nav.zij a[aria-current="page"] { background: var(--eik-licht); color: var(--inkt); }
nav.zij svg { width: 18px; height: 18px; flex: none; }
nav.zij .onder { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--lijn); }

main { padding: 30px clamp(18px, 3.5vw, 44px) 90px; max-width: 1060px; width: 100%; }
.kop { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.kop p { color: var(--zacht); margin-top: 4px; font-size: 14px; }
.terug { display: inline-flex; gap: 6px; font-size: 13px; color: var(--zacht); text-decoration: none; margin-bottom: 10px; }
.terug:hover { color: var(--inkt); }

.raster { display: grid; gap: 14px; }
.r2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.r3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.r4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.r12 { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.vak { background: var(--wit); border: 1px solid var(--lijn); border-radius: var(--rond); padding: 20px; min-width: 0; }
.vak.vlak { background: var(--vlak); }
.vak.plat { padding: 0; overflow: hidden; }
.vak-kop { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
a.vak { text-decoration: none; display: block; transition: border-color .15s; }
a.vak:hover { border-color: #d5cbbd; }
.sectie { margin-top: 26px; }
.sectie-kop { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }

/* ── Knoppen en velden ────────────────────────────────────────────────── */
.knop { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--inkt); background: var(--inkt); color: #fff; padding: 9px 16px; border-radius: 4px; font-size: 13.5px; text-decoration: none; cursor: pointer; white-space: nowrap; line-height: 1.3; }
.knop:hover { background: #34322e; }
.knop.licht { background: var(--wit); color: var(--inkt); border-color: var(--lijn); }
.knop.licht:hover { border-color: #cfc5b8; background: var(--vlak); }
.knop.klein { padding: 6px 12px; font-size: 12.5px; }
.knop.breed { width: 100%; }
.knop:disabled { opacity: .45; cursor: default; }
.tekstknop { background: none; border: 0; padding: 0; cursor: pointer; font-size: 13.5px; color: var(--inkt); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #cfc5b8; }
.knoppen { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }

.veld { display: grid; gap: 5px; margin-bottom: 12px; }
.veld label { font-size: 12.5px; color: var(--zacht); }
.veld input, .veld select, .veld textarea { width: 100%; padding: 9px 11px; border: 1px solid var(--lijn); border-radius: 4px; background: var(--wit); outline: none; font-size: 14px; }
.veld input:focus, .veld select:focus, .veld textarea:focus { border-color: var(--eik); box-shadow: 0 0 0 3px var(--eik-licht); }
.veld textarea { min-height: 110px; resize: vertical; }
.veld input[readonly] { background: var(--vlak); color: var(--zacht); }
.velden2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.vink { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.vink input { accent-color: var(--eik); width: 16px; height: 16px; flex: none; }
.schakelaar { appearance: none; width: 38px; height: 22px; border-radius: 999px; background: #d9d2c7; position: relative; cursor: pointer; flex: none; transition: background .15s; }
.schakelaar::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.schakelaar:checked { background: var(--eik); }
.schakelaar:checked::after { transform: translateX(16px); }

.melding { padding: 10px 14px; border-radius: 4px; font-size: 13.5px; border: 1px solid; margin: 0 0 12px; }
.melding.goed { background: var(--goed-vlak); border-color: #dde6da; color: var(--goed); }
.melding.let { background: var(--let-vlak); border-color: #ecdfc9; color: var(--let); }
.melding.fout { background: var(--fout-vlak); border-color: #efd6d1; color: var(--fout); }

/* ── Stukjes ──────────────────────────────────────────────────────────── */
.speld { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--vlak); color: var(--zacht); border: 1px solid var(--lijn); white-space: nowrap; }
.speld::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.speld.onderweg, .speld.behandeling, .speld.wacht, .speld.nieuw { background: var(--let-vlak); color: var(--let); border-color: #ecdfc9; }
.speld.bezorgd, .speld.afgehandeld { background: var(--goed-vlak); color: var(--goed); border-color: #dde6da; }

.tegel { display: flex; flex-direction: column; gap: 4px; }
.tegel .waarde { font-family: var(--serif); font-size: 28px; line-height: 1.1; }
.tegel .waarde small { font-family: var(--sans); font-size: 13px; color: var(--zacht); margin-left: 4px; }
.tegel .actie { margin-top: auto; padding-top: 10px; }
.voortgang { height: 5px; background: var(--vlak); border-radius: 999px; overflow: hidden; margin: 8px 0 6px; }
.voortgang span { display: block; height: 100%; background: var(--eik); border-radius: 999px; }

.beeld { width: 64px; height: 64px; border-radius: 4px; background: var(--vlak); object-fit: cover; display: block; flex: none; border: 1px solid var(--lijn); }
.beeld.groot { width: 88px; height: 88px; }
.beelden { display: flex; gap: 8px; }

.rijen { list-style: none; margin: 0; padding: 0; }
.rijen > li, .rijen > a { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--lijn); text-decoration: none; }
.rijen > :first-child { padding-top: 0; }
.rijen > :last-child { border-bottom: 0; padding-bottom: 0; }
.rijen .groei { flex: 1; min-width: 0; }
.rijen .groei strong { font-weight: 500; }
.rijen .eind { margin-left: auto; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
a.orderrij:hover strong { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #cfc5b8; }

.regel { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; font-size: 14px; }
.regel.dik { border-top: 1px solid var(--lijn); margin-top: 8px; padding-top: 10px; font-weight: 500; }

.tijdlijn { list-style: none; margin: 10px 0 0; padding: 0; }
.tijdlijn li { position: relative; padding: 0 0 16px 24px; color: var(--licht); font-size: 14px; }
.tijdlijn li::before { content: ''; position: absolute; left: 3px; top: 6px; width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--eik); background: var(--wit); }
.tijdlijn li::after { content: ''; position: absolute; left: 7px; top: 17px; bottom: 1px; width: 1px; background: var(--lijn); }
.tijdlijn li:last-child { padding-bottom: 0; }
.tijdlijn li:last-child::after { display: none; }
.tijdlijn li.gedaan { color: var(--inkt); }
.tijdlijn li.gedaan::before { background: var(--eik); }

.code { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: 14px; letter-spacing: .06em; background: var(--vlak); border: 1px dashed var(--eik); padding: 5px 10px; border-radius: 4px; display: inline-block; }

/* De producten: altijd met foto. */
.producten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product { text-decoration: none; display: grid; gap: 8px; }
.product img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rond); background: var(--wit); border: 1px solid var(--lijn); display: block; }
.product span { font-size: 13.5px; line-height: 1.35; }
.product small { font-size: 12.5px; color: var(--zacht); }
.product:hover img { border-color: #d5cbbd; }

/* ── Aika Kring: de lidkaart ──────────────────────────────────────────── */
.lidkaart { position: relative; border-radius: 10px; overflow: hidden; color: #fff; min-height: 210px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px; padding: 26px 28px;
  background: linear-gradient(100deg, rgba(28,27,25,.86) 0%, rgba(28,27,25,.62) 45%, rgba(28,27,25,.18) 100%), url('/beeld/kring.jpg') center 62% / cover no-repeat, #3a342d; }
.lidkaart .label { color: rgba(255,255,255,.7); }
.lidkaart .saldo { font-family: var(--serif); font-size: 46px; line-height: 1; margin: 8px 0 4px; }
.lidkaart .saldo small { font-family: var(--sans); font-size: 15px; opacity: .8; margin-left: 6px; }
.lidkaart .sub { font-size: 13px; color: rgba(255,255,255,.78); }
.lidkaart .voortgang { background: rgba(255,255,255,.22); max-width: 340px; margin-top: 14px; }
.lidkaart .voortgang span { background: #efe3d3; }
.lidkaart .acties { display: flex; flex-direction: column; gap: 8px; min-width: 190px; }
.lidkaart .knop { background: #fff; color: var(--inkt); border-color: #fff; }
.lidkaart .knop:hover { background: #f1ece5; }
.lidkaart .knop.rand { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.lidkaart .knop.rand:hover { background: rgba(255,255,255,.1); }

.tabs { display: inline-flex; gap: 2px; background: var(--wit); border: 1px solid var(--lijn); border-radius: 8px; padding: 3px; margin: 18px 0 16px; overflow-x: auto; max-width: 100%; }
.tabs { scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { text-decoration: none; padding: 7px 14px; border-radius: 6px; font-size: 13.5px; color: var(--zacht); white-space: nowrap; }
.tabs a:hover { color: var(--inkt); }
.tabs a[aria-current="page"] { background: var(--inkt); color: #fff; }

.bonrij { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; align-items: center; }
.bonrij .bedrag { font-family: var(--serif); font-size: 26px; line-height: 1; }
.treden { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; position: relative; }
.trede { padding: 0 14px 0 0; }
.trede .stip { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.trede .stip i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--eik); background: var(--wit); flex: none; }
.trede .stip b { height: 1px; background: var(--lijn); flex: 1; }
.trede.gehaald .stip i { background: var(--eik); }
.trede.nu .stip i { background: var(--eik); box-shadow: 0 0 0 4px var(--eik-licht); }
.trede ul { margin: 6px 0 0; padding-left: 16px; font-size: 12.5px; color: var(--zacht); }
.trede.nu h3::after { content: 'jij'; font-family: var(--sans); font-size: 11px; background: var(--eik-licht); color: var(--eik); border-radius: 999px; padding: 1px 8px; margin-left: 8px; vertical-align: 3px; }
.punten { font-size: 12.5px; color: var(--eik); background: var(--eik-licht); border-radius: 999px; padding: 2px 9px; white-space: nowrap; }

.vraaglijst details { border-bottom: 1px solid var(--lijn); padding: 11px 0; }
.vraaglijst details:first-child { padding-top: 0; }
.vraaglijst details:last-child { border-bottom: 0; padding-bottom: 0; }
.vraaglijst summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.vraaglijst summary::-webkit-details-marker { display: none; }
.vraaglijst summary::after { content: '+'; color: var(--eik); font-size: 17px; line-height: 1; }
.vraaglijst details[open] summary::after { content: '−'; }
.vraaglijst details p { margin-top: 6px; color: var(--zacht); font-size: 13.5px; }

.leeg { text-align: center; padding: 30px 16px; color: var(--zacht); font-size: 14px; }
.laden { color: var(--licht); padding: 20px 0; font-size: 14px; }

/* ── Inloggen ─────────────────────────────────────────────────────────── */
.inlog { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--wit); }
.inlog .sfeer { background: url('/beeld/inloggen.jpg') center 70% / cover no-repeat, #d9cfc0; position: relative; }
.inlog .sfeer span { position: absolute; left: 36px; bottom: 30px; font-family: var(--serif); font-size: 44px; color: #fff; letter-spacing: .04em; text-shadow: 0 1px 24px rgba(0,0,0,.25); }
.inlog .paneel { display: grid; place-items: center; padding: 32px 22px; }
.inlog .kaart { width: min(380px, 100%); }
.inlog h1 { margin: 6px 0 8px; }
.inlog .uitleg { color: var(--zacht); margin-bottom: 22px; font-size: 14px; }
.inlog .klein { margin-top: 16px; }
.codevak { font-size: 24px !important; letter-spacing: .45em; text-align: center; font-family: var(--serif) !important; }

.voorbeeldbalk { background: var(--inkt); color: #f4f1ec; text-align: center; font-size: 12px; padding: 6px 16px; }

/* ── Mobiel ───────────────────────────────────────────────────────────── */
nav.onder { display: none; }
.scherm { display: none; }
@media (max-width: 900px) {
  .menuknop { display: inline-flex; }
  .balk { padding: 0 14px; }
  .balk .rechts .winkel { display: none; }
  /* minmax(0, …): anders rekt de tabbalk de hele pagina op en schuift alles opzij. */
  .geheel { grid-template-columns: minmax(0, 1fr); }
  nav.zij { position: fixed; left: 0; top: 60px; bottom: 0; width: min(290px, 86vw); z-index: 30; transform: translateX(-102%); transition: transform .2s ease; height: auto; box-shadow: 0 10px 40px rgba(0,0,0,.08); }
  body.menu-open nav.zij { transform: none; }
  body.menu-open .scherm { display: block; position: fixed; inset: 60px 0 0 0; background: rgba(28,27,25,.25); z-index: 25; }
  main { padding: 22px 14px 100px; }
  h1 { font-size: 26px; }
  .r2, .r3, .r12 { grid-template-columns: minmax(0, 1fr); }
  /* De drie kleine Kring-tegels blijven naast elkaar: drie keer onder elkaar is
     een halve telefoon aan getallen. */
  .r3.tegels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tegels .vak { padding: 12px; }
  .tegels .waarde { font-size: 22px; }
  .tegels .label { font-size: 10px; letter-spacing: .08em; }
  .tegels .klein { font-size: 11.5px; line-height: 1.35; }
  .r4, .producten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .velden2 { grid-template-columns: 1fr; }
  .vak { padding: 16px; }
  .beeld { width: 56px; height: 56px; }
  .rijen .eind { flex-direction: column; align-items: flex-end; gap: 4px; }
  .lidkaart { grid-template-columns: 1fr; padding: 22px 20px; min-height: 0; background-position: center, center 55%, center; }
  .lidkaart .acties { flex-direction: row; flex-wrap: wrap; min-width: 0; }
  .lidkaart .saldo { font-size: 40px; }
  .treden { grid-template-columns: 1fr; gap: 14px; }
  .bonrij { grid-template-columns: 64px minmax(0, 1fr); }
  .bonrij > :last-child { grid-column: 2; justify-self: start; }
  nav.onder { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: var(--wit); border-top: 1px solid var(--lijn); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); justify-content: space-around; }
  nav.onder a, nav.onder button { background: none; border: 0; text-decoration: none; font-size: 11px; color: var(--zacht); display: grid; justify-items: center; gap: 2px; padding: 4px 8px; cursor: pointer; }
  nav.onder a[aria-current="page"] { color: var(--inkt); }
  nav.onder svg { width: 21px; height: 21px; }
  .inlog { grid-template-columns: 1fr; }
  .inlog .sfeer { min-height: 180px; }
  .inlog .sfeer span { font-size: 34px; left: 20px; bottom: 16px; }
}

/* ── Insturen voor punten ─────────────────────────────────────────────── */
.inzend { margin-top: 12px; padding: 16px; background: var(--vlak); border: 1px solid var(--lijn); border-radius: var(--rond); }
.upload { display: grid; gap: 10px; margin-bottom: 12px; }
.uploadvak { display: grid; justify-items: center; gap: 2px; padding: 18px; border: 1px dashed #cfc5b8; border-radius: var(--rond); background: var(--wit); cursor: pointer; text-align: center; }
.uploadvak:hover { border-color: var(--eik); }
.uploadvak input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.uploadvak strong { font-weight: 500; font-size: 14px; }
.uploadvak small { font-size: 12px; color: var(--zacht); }
.duimen { display: flex; gap: 8px; flex-wrap: wrap; }
.duimen:empty { display: none; }
.sterren { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.sterren input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sterren label { font-size: 24px; line-height: 1; color: #d9d2c7; cursor: pointer; }
.sterren input:checked ~ label, .sterren label:hover, .sterren label:hover ~ label { color: var(--eik); }
.wwk { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 8px; padding: 10px 12px; background: var(--eik-licht); border-radius: var(--rond); font-size: 13px; }
.actiekaart img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--vlak); border-bottom: 1px solid var(--lijn); }
