/* Accendis Klantportaal — eigen styling boven Velzon-base.
 *
 * Geen DataTables/Choices laden — die zijn admin-only. Portal heeft
 * eigen, minimale stack. Velzon's app.min.css levert wel de
 * auth-cover/page-content layout-classes; we passen alleen kleur,
 * branding en kleine sizing-tweaks aan. */

:root {
  --acc-blue:        #0e3a6b;
  --acc-blue-light:  #1f5fa0;
  --acc-blue-soft:   #eef2f7;
}

/* ---------- Body / typografie ---------- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--acc-blue-soft);
  color: #1f2937;
  font-size: 15px;
}

/* ---------- Auth-cover (login / wachtwoord-vergeten / -reset) ---------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--acc-blue) 0%, var(--acc-blue-light) 100%);
  padding: 20px;
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}
.auth-card .auth-header {
  background: var(--acc-blue);
  color: #ffffff;
  padding: 28px 28px 24px;
  text-align: center;
}
.auth-card .auth-header img { max-height: 44px; max-width: 220px; }
.auth-card .auth-header .auth-subtitle {
  font-size: 13px;
  opacity: 0.85;
  margin-top: 6px;
  letter-spacing: 0.3px;
}
.auth-card .auth-body { padding: 28px; }
.auth-card .auth-body h1,
.auth-card .auth-body h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--acc-blue);
}
.auth-card .auth-body .lead-text {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 22px;
}
.auth-card .auth-footer {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
  font-size: 13px;
  text-align: center;
  padding: 14px 28px;
}
.auth-card .auth-footer a { color: var(--acc-blue); text-decoration: none; }
.auth-card .auth-footer a:hover { text-decoration: underline; }

/* ---------- Buttons / inputs ---------- */
.btn-primary {
  background-color: var(--acc-blue);
  border-color: var(--acc-blue);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: var(--acc-blue-light);
  border-color: var(--acc-blue-light);
}
.form-control:focus {
  border-color: var(--acc-blue-light);
  box-shadow: 0 0 0 0.2rem rgba(31, 95, 160, 0.15);
}
.form-label { font-weight: 500; color: #334155; }

/* Btn-light gebruikt op de auth-pages: zorg dat tekst (ook in <strong>)
   donker blijft op hover — anders wit-op-grijs en onleesbaar. */
.auth-card .btn-light,
.auth-card .btn-light:hover,
.auth-card .btn-light:focus,
.auth-card .btn-light:active,
.auth-card .btn-light strong {
  color: #1e293b;
}
.auth-card .btn-light:hover {
  background-color: #e9eef5;
  border-color: #cbd5e1;
}

/* ---------- Layout (na login) ---------- */
.portal-shell { min-height: 100vh; display: flex; flex-direction: column; }
.portal-topbar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.portal-topbar .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.portal-topbar .brand img { height: 32px; }
.portal-topbar .brand-name {
  font-weight: 600; color: var(--acc-blue); font-size: 15px;
}
.portal-topbar .nav-links { margin-left: 32px; display: flex; gap: 20px; }
.portal-topbar .nav-links a {
  color: #475569; text-decoration: none; font-weight: 500; font-size: 14px;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.portal-topbar .nav-links a:hover { color: var(--acc-blue); }
.portal-topbar .nav-links a.active {
  color: var(--acc-blue); border-bottom-color: var(--acc-blue);
}
.portal-topbar .user-menu { margin-left: auto; }

.portal-content { flex: 1; padding: 28px; }
.portal-content .container-card {
  background: #ffffff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  padding: 24px;
}

/* ---------- Mobile ---------- */
@media (max-width: 575px) {
  .auth-card { box-shadow: none; }
  .auth-card .auth-header { padding: 20px 20px 18px; }
  .auth-card .auth-body { padding: 22px 20px; }
  .portal-topbar { padding: 10px 14px; gap: 10px; }
  .portal-topbar .nav-links { margin-left: 0; gap: 14px; font-size: 13px; }
  .portal-content { padding: 16px; }
}
