/* Ray-Media: Klantportaal (/klant, /klant/voorstel/:id, /klant/galerij/:id).
 * Offerte-acceptatie en lichtbak-fotoselectie vanuit het perspectief van de klant. */

.klant-inhoud {
  max-width: var(--breed);
  margin-inline: auto;
  padding: var(--r-6) var(--rand) var(--r-12);
  display: grid;
  gap: var(--r-6);
}

.voorstel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--r-6);
  align-items: start;
}

.voorstel-vel {
  background: var(--vlak);
  border: 1px solid var(--lijn);
  border-radius: var(--hoek-paneel);
  padding: var(--r-6);
  display: grid;
  gap: var(--r-5);
}

.voorstel-vel__kop {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-bottom: var(--r-4);
  border-bottom: 1px solid var(--lijn);
}

.draaiboek-lijst {
  list-style: none;
  display: grid;
  gap: 8px;
}

.draaiboek-rij {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr) auto;
  gap: 8px 16px;
  align-items: center;
  padding: 10px 12px;
  background: var(--vlak-2);
  border-radius: var(--hoek);
  font-size: var(--t-14);
}

.draaiboek-rij__tijd {
  font-family: var(--f-display);
  font-weight: 680;
  font-variant-numeric: tabular-nums;
  color: var(--steun);
}

@media (max-width: 56rem) {
  .voorstel-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 36rem) {
  .draaiboek-rij {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* --- de virtuele lichtbak voor fotoselectie (/klant/galerij/:id) --- */
.lichtbak-balk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding: 14px 18px;
  background: var(--lichtbak);
  color: var(--lichtbak-tekst);
  border-radius: var(--hoek-paneel);
}

.lichtbak-teller {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: var(--t-16);
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

.lichtbak-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
  background: var(--lichtbak);
  border-radius: var(--hoek-paneel);
}

.lichtbak-kaart {
  display: flex;
  flex-direction: column;
  background: var(--lichtbak-2);
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: var(--hoek-plaat);
  overflow: hidden;
  min-width: 0;
  color: var(--lichtbak-tekst);
}

.lichtbak-kaart.is-gekozen {
  border-color: #f48c4e;
  box-shadow: inset 0 0 0 1px #f48c4e;
}

.lichtbak-kaart__beeld {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #090b0e;
  overflow: hidden;
}

.lichtbak-kaart__beeld img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lichtbak-kaart__nummer {
  position: absolute;
  top: 8px;
  left: 8px;
  min-width: 26px;
  height: 26px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgb(15 17 22 / 0.82);
  color: #f3f1ec;
  font-family: var(--f-display);
  font-size: var(--t-12);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  display: inline-grid;
  place-items: center;
}

.lichtbak-kaart.is-gekozen .lichtbak-kaart__nummer {
  background: var(--amber);
  color: var(--op-kleur);
}

.lichtbak-kaart__acties {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  font-size: var(--t-12);
}

.lichtbak-keuzeknop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgb(255 255 255 / 0.25);
  background: transparent;
  color: var(--lichtbak-tekst);
  font-size: var(--t-12);
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.lichtbak-kaart.is-gekozen .lichtbak-keuzeknop {
  background: var(--amber);
  border-color: var(--amber);
  color: var(--op-kleur);
}

@media (max-width: 58rem) {
  .lichtbak-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 34rem) {
  .lichtbak-grid {
    grid-template-columns: minmax(0, 1fr);
    padding: 12px;
  }
}
