@import url('https://fonts.googleapis.com/css2?family=Fraunces:wght@600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --inkt: #1A1A1E;
  --wit: #FFFFFF;
  --grijs-licht: #F5F4F2;
  --grijs-rand: #DDDAD5;
  --grijs-tekst: #6B6862;
  --goud: #C99A3B;
  --goud-donker: #A67F2E;
  --rood: #B8433A;
  --groen: #3D7A5C;
  --blauw: #2E5C8A;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); background: var(--grijs-licht); color: var(--inkt); }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
a { color: inherit; }

.topbar {
  background: var(--inkt); color: var(--wit);
  padding: 14px 24px; display: flex; align-items: center; justify-content: space-between;
}
.topbar .logo { font-family: var(--font-display); font-size: 1.3rem; }
.topbar .logo span { color: var(--goud); }
.topbar button, .topbar a.knop {
  background: transparent; border: 1px solid rgba(255,255,255,0.3); color: var(--wit);
  padding: 6px 14px; border-radius: 6px; cursor: pointer; font-family: var(--font-body); font-size: 0.85rem;
  text-decoration: none;
}
.topbar button:hover, .topbar a.knop:hover { background: rgba(255,255,255,0.1); }

main { padding: 32px 20px; max-width: 900px; margin: 0 auto; }

.kaart { background: var(--wit); border: 1px solid var(--grijs-rand); border-radius: 10px; padding: 24px; margin-bottom: 20px; }
.kaart-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.kaart-header h2 { margin: 0; }

label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; margin-top: 14px; }
input, select, textarea {
  width: 100%; padding: 10px 12px; border: 1px solid var(--grijs-rand); border-radius: 6px;
  font-family: var(--font-body); font-size: 0.95rem;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--goud); outline-offset: 1px; }

.knop-primair {
  background: var(--goud); color: var(--wit); border: none; padding: 10px 16px; border-radius: 6px;
  font-weight: 700; font-size: 0.85rem; cursor: pointer; font-family: var(--font-body); display: inline-block; text-decoration: none;
}
.knop-primair:hover { background: var(--goud-donker); }
.knop-secundair {
  background: var(--wit); color: var(--inkt); border: 1px solid var(--grijs-rand); padding: 10px 16px; border-radius: 6px;
  font-weight: 600; font-size: 0.85rem; cursor: pointer; font-family: var(--font-body); display: inline-block; text-decoration: none;
}
.knop-secundair:hover { background: var(--grijs-licht); }
.knop-gevaar {
  background: var(--wit); color: var(--rood); border: 1px solid var(--rood); padding: 8px 14px; border-radius: 6px;
  font-weight: 600; font-size: 0.8rem; cursor: pointer; font-family: var(--font-body);
}

.form-knoppen { display: flex; gap: 10px; margin-top: 16px; }
.foutmelding { color: var(--rood); font-size: 0.85rem; margin-top: 8px; min-height: 1em; }

.rol-badge {
  display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.rol-eigenaar { background: #F0E4C8; color: var(--goud-donker); }
.rol-meewerker { background: #DEEAE3; color: var(--groen); }
.rol-alleen_bekijken { background: #E4E3E1; color: var(--grijs-tekst); }

.productie-lijst { list-style: none; padding: 0; margin: 0; }
.productie-item {
  display: flex; align-items: center; justify-content: space-between; padding: 14px 4px;
  border-bottom: 1px solid var(--grijs-rand); cursor: pointer;
}
.productie-item:last-child { border-bottom: none; }
.productie-item:hover { background: var(--grijs-licht); }
.productie-naam { font-weight: 700; font-size: 1rem; }

.tabel { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.tabel th { text-align: left; font-size: 0.72rem; text-transform: uppercase; color: var(--grijs-tekst); padding: 8px 6px; border-bottom: 2px solid var(--grijs-rand); }
.tabel td { padding: 8px 6px; border-bottom: 1px solid var(--grijs-rand); }

.verborgen { display: none !important; }
.placeholder { color: var(--grijs-tekst); font-size: 0.9rem; }
