/* ==========================================
   pay.andrews-ict.nl: alleen wat de hoofdsite (style.css) nog niet heeft,
   vooral formulieren. Zelfde kleuren (variabelen uit style.css).
   ========================================== */

.formulier {
  max-width: 28rem;
}

.formulier label {
  display: block;
  font-weight: 600;
  margin: 1.1rem 0 0.3rem;
}

.formulier input[type="email"],
.formulier input[type="password"],
.formulier input[type="text"],
.formulier select,
.formulier textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  font: inherit;
  color: var(--tekst);
  background: #fff;
  border: 1px solid var(--lijn);
  border-radius: 4px;
}

.formulier input:focus,
.formulier select:focus,
.formulier textarea:focus {
  outline: 2px solid var(--blauw);
  outline-offset: 1px;
}

.formulier .vinkje {
  display: flex;
  gap: 0.5rem;
  align-items: baseline;
  font-weight: 400;
}

.formulier button,
.knop-rij button {
  margin-top: 1.4rem;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--blauw);
  border: 0;
  border-radius: 4px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
}

.formulier button:hover {
  background: var(--blauw-donker);
}

.formulier button.gevaar {
  background: #a4262c;
}

.hint {
  font-size: 0.95rem;
  color: var(--grijs);
  margin: 0.25rem 0 0;
}

.veldfout {
  font-size: 0.95rem;
  color: #a4262c;
  margin: 0.25rem 0 0;
}

.fout,
.melding {
  padding: 0.7rem 1rem;
  border-radius: 4px;
  margin: 1rem 0 0;
}

.fout {
  background: #fdecea;
  color: #7d1d1d;
}

.melding {
  background: var(--band);
}

.meldingen {
  padding-top: 1rem;
}

.onderdeel {
  border-top: 1px solid var(--lijn);
  margin-top: 2.5rem;
  padding-top: 0.5rem;
}

/* Uitloggen is een formulier (POST), maar ziet eruit als de andere menulinks. */
.uitloggen {
  margin: 0;
}

.uitloggen button {
  font: inherit;
  color: var(--tekst);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.uitloggen button:hover {
  color: var(--blauw);
  text-decoration: underline;
}

.knoppen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}

.portaal {
  border: 1px solid var(--lijn);
  border-radius: 4px;
  padding: 0.5rem 1.2rem 1rem;
  margin: 1rem 0;
}

.portaal h3 {
  margin-bottom: 0;
}

.status-live {
  color: #1d6b35;
  font-weight: 600;
}

.prijs {
  font-weight: 600;
  margin-top: 1.5rem;
}

.knop-als-knop {
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: var(--blauw);
  border: 0;
  border-radius: 4px;
  padding: 0.6rem 1.2rem;
  cursor: pointer;
}

/* ==========================================
   Inlogscherm: een witte kaart in het midden op een grijze achtergrond
   (inloggen, account maken, wachtwoord vergeten, meldingen).
   ========================================== */

.inlog-scherm {
  background: var(--band);
  padding: 3rem 1rem 4rem;
  min-height: 70vh;
}

.inlog-kaart {
  width: 100%;
  max-width: 26rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--lijn);
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(27, 39, 51, 0.08);
  padding: 2.25rem 2rem;
}

.inlog-kaart.breed {
  max-width: 30rem;
}

.inlog-merk {
  display: block;
  text-align: center;
  font-family: "Rubik", Arial, sans-serif;
  font-weight: 500;
  color: var(--blauw);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}

.inlog-kaart h1 {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 0.4rem;
}

.inlog-kaart .ondertitel {
  text-align: center;
  color: var(--grijs);
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.inlog-kaart .formulier {
  max-width: none;
}

.inlog-kaart .formulier button {
  display: block;
  width: 100%;
  padding: 0.75rem 1.2rem;
}

.inlog-kaart .fout,
.inlog-kaart .melding {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1rem;
}

/* Label met een link rechts ernaast (Wachtwoord ... Vergeten?) */
.label-rij {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 1.1rem 0 0.3rem;
}

.label-rij label {
  margin: 0;
}

.label-rij a {
  font-size: 0.95rem;
}

.inlog-onder {
  text-align: center;
  font-size: 1rem;
  color: var(--grijs);
  border-top: 1px solid var(--lijn);
  margin: 1.75rem 0 0;
  padding-top: 1.25rem;
}

.inlog-kaart .midden-tekst {
  text-align: center;
}

@media (max-width: 30rem) {
  .inlog-scherm {
    padding: 1.5rem 1rem 3rem;
  }

  .inlog-kaart {
    padding: 1.75rem 1.25rem;
  }
}

/* ==========================================
   Na inloggen: dashboard en instellingen, in kaarten
   ========================================== */

.paneel {
  max-width: 44rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

.paneel-kop {
  margin-bottom: 1.5rem;
}

.paneel-kop h1 {
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  margin-bottom: 0.25rem;
}

.paneel-kop p {
  color: var(--grijs);
  margin: 0;
}

.paneel .kaart {
  background: #fff;
  border: 1px solid var(--lijn);
  border-radius: 8px;
  padding: 1.5rem 1.5rem 1.75rem;
  margin-bottom: 1.5rem;
}

.paneel .kaart h2 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.paneel .kaart .formulier {
  max-width: none;
}

.paneel .kaart .formulier button {
  margin-top: 1.25rem;
}

.paneel .kaart.gevaarzone {
  border-color: #e3b5b7;
}

.label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: var(--band);
  color: var(--tekst);
  vertical-align: middle;
}

.label.live {
  background: #e3f4e8;
  color: #1d6b35;
}

.label.wacht {
  background: #fff3d6;
  color: #7a5200;
}

.portaal-kop {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem 1rem;
}

.portaal-kop h2 {
  margin: 0;
}

.portaal-adres {
  color: var(--grijs);
  font-size: 1rem;
  margin: 0.25rem 0 1rem;
  word-break: break-all;
}

.voortgang {
  display: block;
  width: 100%;
  height: 0.5rem;
  margin: 0.5rem 0 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--band);
  overflow: hidden;
  -webkit-appearance: none;
  appearance: none;
}

.voortgang::-webkit-progress-bar {
  background: var(--band);
}

.voortgang::-webkit-progress-value {
  background: var(--blauw);
}

.voortgang::-moz-progress-bar {
  background: var(--blauw);
}

.leeg {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.leeg p {
  color: var(--grijs);
}

.knop-breed {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  padding: 0.75rem 1.2rem;
}

.prijsregel {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  background: var(--band);
  border-radius: 6px;
}

.prijsregel strong {
  font-family: "Rubik", Arial, sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
}

.paneel-scherm {
  background: var(--band);
  min-height: 70vh;
}

/* ==========================================
   Dashboard naar het ontwerp (28-09-2026)
   ========================================== */

.dash {
  max-width: 60rem;
  margin: 0 auto;
  padding: 2rem 1.25rem 3.5rem;
}

.dkaart {
  background: #fff;
  border: 1px solid var(--lijn);
  border-radius: 6px;
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}

.dkaart h1 {
  font-size: clamp(1.8rem, 4vw, 2.2rem);
  margin-bottom: 0.4rem;
}

.dkaart h2 {
  font-size: 1.3rem;
  margin-bottom: 0.3rem;
}

.dash-label {
  display: block;
  color: var(--blauw);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
}

.dash-intro {
  color: var(--grijs);
  max-width: 30rem;
}

.dash-info {
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--lijn);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
}

.dash-info p {
  margin: 0;
}

.veldnaam {
  color: var(--grijs);
  font-size: 0.95rem;
}

.waarde {
  font-weight: 600;
  margin-bottom: 0.9rem !important;
}

.waarde-licht {
  color: var(--grijs);
}

.webadres {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  word-break: break-all;
}

.dash-status {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}

.dash-status p:not(.veldnaam):not(.waarde) {
  color: var(--grijs);
  margin-bottom: 0.5rem;
}

.dash-status form,
.dash-status .knop {
  width: 100%;
}

.knop-groot {
  width: 100%;
  padding: 0.85rem 1.2rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

@media (min-width: 45rem) {
  .dash-info {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .dash-status {
    border-left: 1px solid var(--lijn);
    padding-left: 2rem;
  }
}

/* Statuspil met bolletje */
.pil {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem;
  border-radius: 6px;
  background: var(--band);
  color: var(--tekst);
  margin-bottom: 0.6rem;
}

.pil::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--grijs);
}

.pil.live {
  background: #e3f4e8;
  color: var(--groen);
}

.pil.live::before {
  background: #2f9e57;
}

.pil.wacht {
  background: #fff3d6;
  color: #7a5200;
}

.pil.wacht::before {
  background: #d49a00;
}

.dash-twee {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.dash-twee .dkaart {
  margin-bottom: 0;
}

@media (min-width: 52rem) {
  .dash-twee {
    grid-template-columns: 1fr 1fr;
  }
}

/* Voortgang: balk met "3 van 6 stappen" ernaast */
.voortgang-rij {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--grijs);
  margin: 0.5rem 0 0.75rem;
}

.voortgang-rij .voortgang {
  flex: 1;
  margin: 0;
}

.stappenlijst,
.acties {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stappenlijst a,
.acties a,
.acties button {
  display: grid;
  grid-template-columns: 2.25rem 1fr 1rem;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 0.8rem 0;
  color: var(--tekst);
  text-decoration: none;
  text-align: left;
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.stappenlijst li + li {
  border-top: 1px solid var(--band);
}

.stappenlijst strong,
.acties strong {
  display: block;
  font-weight: 600;
  font-size: 1rem;
}

.stappenlijst small,
.acties small {
  display: block;
  color: var(--grijs);
  font-size: 0.85rem;
}

.stappenlijst a:hover strong,
.acties a:hover strong,
.acties button:hover strong {
  color: var(--blauw);
}

.stapbol {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--band);
  color: var(--tekst);
  font-weight: 600;
  font-size: 0.95rem;
}

.stapbol.klaar {
  background: var(--blauw);
  color: #fff;
}

.stapbol .ic {
  width: 1.1rem;
  height: 1.1rem;
}

.acties li {
  border: 1px solid var(--lijn);
  border-radius: 6px;
  margin-bottom: 0.75rem;
}

.acties a,
.acties button {
  padding: 0.9rem 1rem;
  grid-template-columns: 1.5rem 1fr 1rem;
}

.acties .ic:first-child {
  color: var(--blauw);
  width: 1.5rem;
  height: 1.5rem;
}

.acties form {
  margin: 0;
}

/* Goed om te weten: lichtblauw vlak met een schildje */
.goed-om-te-weten {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  background: var(--blauw-licht);
  padding: 1.25rem;
}

.goed-om-te-weten .ic {
  width: 2rem;
  height: 2rem;
  color: var(--blauw);
}

.goed-om-te-weten h2 {
  font-size: 1.1rem;
}

.goed-om-te-weten p {
  color: #2f3b4d;
  margin: 0;
}

/* Header na inloggen: rondje met poppetje, naam en uitklapmenu */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--blauw-licht);
  color: var(--tekst);
}

.avatar .ic {
  width: 1.1rem;
  height: 1.1rem;
}

.gebruiker {
  position: relative;
}

.gebruiker summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}

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

.pijltje {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--tekst);
  border-bottom: 2px solid var(--tekst);
  transform: translateY(-25%) rotate(45deg);
}

.gebruiker-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  z-index: 5;
  min-width: 11rem;
  background: #fff;
  border: 1px solid var(--lijn);
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(19, 33, 60, 0.1);
  padding: 0.4rem 0;
}

.gebruiker-menu a,
.gebruiker-menu button {
  display: block;
  width: 100%;
  padding: 0.55rem 1rem;
  color: var(--tekst);
  text-decoration: none;
  text-align: left;
  font: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.gebruiker-menu a:hover,
.gebruiker-menu button:hover {
  background: var(--band);
}

.gebruiker-menu form {
  margin: 0;
}

.menu-mobiel form {
  margin: 0;
}

.menu-mobiel nav form .knop {
  width: 100%;
  margin-top: 1rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.menu-mobiel nav .taal {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--band);
}

/* ---------- Handleiding (/guide) ---------- */

/* Grijze plek voor een screenshot of foto die nog gemaakt moet worden: zelfde
   stijl als de placeholder-afbeeldingen op de hoofdsite (grijs vlak, kruis). */
.gids-shot {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.25rem 0 1.75rem;
  padding: 1rem;
  aspect-ratio: 16 / 10;
  border: 2px solid #c9d1db;
  border-radius: 16px;
  background-color: #dde3ea;
  background-image:
    linear-gradient(to top right, transparent calc(50% - 1px), #c9d1db calc(50% - 1px), #c9d1db calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(to bottom right, transparent calc(50% - 1px), #c9d1db calc(50% - 1px), #c9d1db calc(50% + 1px), transparent calc(50% + 1px));
}

.gids-shot span {
  max-width: 85%;
  padding: 0.4rem 0.8rem;
  background: #dde3ea;
  color: #5b6772;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  text-align: center;
}

.gids-foto {
  aspect-ratio: 4 / 3;
}

.gids-telefoon {
  aspect-ratio: 9 / 16;
  max-width: 15rem;
}

.gids-rij {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 1.25rem 0 1.75rem;
}

.gids-rij .gids-shot {
  flex: 1 1 11rem;
  margin: 0;
}

.gids h3 {
  margin-top: 2.25rem;
}

.gids section + section {
  margin-top: 3.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--lijn);
}

.gids-meta {
  color: var(--label);
  font-size: 0.95rem;
}

/* Genummerde stappen met een rond nummer, zoals "Zo werkt het" */
.gids-stappen {
  list-style: none;
  padding: 0;
  counter-reset: stap;
}

.gids-stappen[start="4"] { counter-reset: stap 3; }
.gids-stappen[start="6"] { counter-reset: stap 5; }

.gids-stappen > li {
  position: relative;
  counter-increment: stap;
  padding-left: 3rem;
  margin-bottom: 1.25rem;
}

.gids-stappen > li::before {
  content: counter(stap);
  position: absolute;
  left: 0;
  top: 0.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--blauw-licht);
  color: var(--blauw);
  font-weight: 700;
  font-size: 0.95rem;
}

.gids-stappen > li > p {
  margin-bottom: 0.75rem;
}

.gids-stappen ul {
  margin-top: 0.5rem;
}

/* "Gelukt als ..." */
.gids-gelukt {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background: #e8f3ec;
}

.gids-gelukt p {
  margin: 0;
}

.gids-gelukt .vink {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: var(--groen);
  color: #fff;
}

.gids-gelukt .vink svg {
  width: 0.95rem;
  height: 0.95rem;
}

/* "Voordat je begint": aanvinken wat je al hebt */
.gids-check {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.gids-check li {
  margin: 0;
}

.gids-check li + li {
  border-top: 1px solid var(--lijn);
}

.gids-check label {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  cursor: pointer;
}

.gids-check input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

.gids-check .vakje {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.1rem;
  border: 2px solid var(--blauw);
  border-radius: 6px;
  color: transparent;
  background: #fff;
}

.gids-check .vakje svg {
  width: 1rem;
  height: 1rem;
}

.gids-check input:checked + .vakje {
  background: var(--blauw);
  color: #fff;
}

.gids-check input:focus-visible + .vakje {
  outline: 3px solid var(--blauw);
  outline-offset: 2px;
}

.gids-check strong {
  display: block;
}

.gids-check strong + span {
  display: block;
  color: var(--grijs);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}

/* Pas als alles is aangevinkt verschijnt de knop om te beginnen */
.gids-klaar {
  display: none;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: var(--band);
}

.gids-klaar p {
  margin-bottom: 1rem;
}

.gids-voorbereiding:not(:has(.gids-check input:not(:checked))) .gids-klaar {
  display: block;
}

/* Binnen .tekst krijgen lijsten een inspringing; deze niet */
.gids .gids-check,
.gids .gids-stappen {
  padding-left: 0;
}

/* Niet breder dan nodig: een screenshot van een computerscherm en een foto
   hoeven niet de hele tekstkolom te vullen */
.gids-scherm {
  max-width: 36rem;
}

.gids-foto {
  max-width: 30rem;
}
