/* =========================================================
   DV Verwerving – style.css (opgeschoond + consistenter)
   - Rustige enterprise look
   - Betere spacing/typografie
   - Pixel-strakke auth layout (login/2FA)
   ========================================================= */

:root{
  --dv-green:#0B5D3B;
  --dv-yellow:#FFD200;

  --bg:#F5F7FA;
  --text:#0F172A;
  --muted:#64748B;

  --card:#FFFFFF;
  --border:#E2E8F0;

  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 10px 24px rgba(15, 23, 42, 0.10);

  --radius-lg:18px;
  --radius-md:12px;
  --radius-xl:20px;

  --container:1100px;
  --auth:520px;

  --focus: rgba(255, 210, 0, 0.35);
}

/* Base */
*{box-sizing:border-box}
html, body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.45;
}
a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto}
code{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}

/* Containers */
.container{
  max-width:var(--container);
  margin:0 auto;
  padding:24px;
}

/* Header / Nav */
.header{
  background:#fff;
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brandbar{
  width:10px;
  height:36px;
  border-radius:8px;
  background:var(--dv-green);
}
.brand-title{
  font-weight:800;
}
.brand-subtitle{
  font-size:12px;
  color:var(--muted);
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  padding:10px 14px;
  border-radius:var(--radius-md);
  font-weight:700;
  border:1px solid transparent;
  cursor:pointer;

  transition: filter .15s ease, opacity .15s ease, transform .15s ease, box-shadow .15s ease;
  user-select:none;
}
.btn:hover{filter:brightness(96%); box-shadow:0 6px 14px rgba(15, 23, 42, 0.08)}
.btn:active{transform:translateY(1px); box-shadow:none}

.btn-primary{background:var(--dv-yellow); color:#000}
.btn-green{background:var(--dv-green); color:#fff}
.btn-yellow{background:var(--dv-yellow); color:#000}

.btn-outline{
  background:#fff;
  border:1px solid var(--border);
  color:var(--text);
}

/* Layout */
.hero{
  padding:40px 0;
  display:grid;
  grid-template-columns: 1.4fr 1fr;
  gap:24px;
  align-items:center;
}

/* Card */
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius-lg);
  padding:18px;
  box-shadow: var(--shadow);
}

/* Typography helpers */
.h1{font-size:38px; line-height:1.1; margin:0}
.p{color:var(--muted); margin:12px 0 0}

.grid{display:grid; gap:12px}

/* Tiles */
.tile{
  padding:14px;
  border-radius:16px;
  border:1px solid var(--border);
  background:#fff;
  transition: box-shadow .15s ease, border-color .15s ease, background .15s ease, transform .15s ease;
}
.tile:hover{
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}
.tile.disabled{opacity:.6}

/* Modules geel accent */
.tile-yellow{
  border-color: rgba(255, 210, 0, 0.55);
}
.tile-yellow:hover{
  border-color: var(--dv-yellow);
  background: #fffdf2;
}

/* Footer */
.footer{
  background:#fff;
  border-top:1px solid var(--border);
  color:var(--muted);
  font-size:12px;
}

/* Forms (generic) */
.form-row{
  display:grid;
  gap:10px;
  margin-top:12px;
}
label{display:block}

/* Generic inputs */
input{
  width:100%;
  padding:11px 12px;
  border-radius:var(--radius-md);
  border:1px solid var(--border);
  outline:none;
  background:#fff;
  color:var(--text);
  font-size:15px;
}
input::placeholder{color:#94A3B8}
input:focus{
  border-color: rgba(255, 210, 0, 0.85);
  box-shadow: 0 0 0 3px var(--focus);
}

/* Error */
.error{
  background:#fff1f2;
  border:1px solid #fecdd3;
  color:#9f1239;
  padding:12px 14px;
  border-radius:14px;
  margin-top:14px;
}

/* =========================================================
   Auth (login/2FA) – 1:1 look zoals je screenshot
   ========================================================= */
.auth-wrap{
  max-width:var(--auth);
  margin:56px auto 0;     /* iets lager op de pagina, zoals screenshot */
  padding:0 16px;
}

.auth-card{
  padding:26px;           /* meer “lucht” zoals screenshot */
  border-radius:20px;     /* net iets ronder */
}

.auth-title{
  font-weight:900;
  font-size:26px;         /* groter en vet zoals screenshot */
  margin:0;
  letter-spacing:-0.2px;
}

.auth-subtitle{
  margin-top:6px;
  color:var(--muted);
  font-size:16px;
}

.auth-form{
  margin-top:18px;
  display:grid;
  gap:14px;
}

/* Labels zoals screenshot */
.auth-label{
  font-size:14px;
  font-weight:600;
  color:#475569;
  margin-bottom:8px;
}

/* Inputs iets hoger/ronder */
.auth-input{
  padding:12px 14px;
  border-radius:14px;
  font-size:15px;
}

/* Button: hoger + ronder + strak gecentreerd */
.auth-button{
  margin-top:6px;
  padding:14px 14px;
  border-radius:16px;
  font-size:16px;
  font-weight:700;
  width:100%;
}

/* Footer tekst zoals screenshot */
.auth-footer{
  margin-top:14px;
  font-size:13px;
  color:var(--muted);
}

/* Responsive */
@media (max-width: 900px){
  .container{padding:18px}
  .hero{
    grid-template-columns: 1fr;
    padding:28px 0;
  }
  .h1{font-size:30px}
}

@media (max-width: 520px){
  .brandbar{height:32px}
  .card{padding:16px}
  .btn{padding:10px 12px}
  .auth-card{padding:20px}
  .auth-title{font-size:24px}
}
