/* =========================================================
   EnDrip — professionele skin bovenop het Sngine-thema
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

:root {
  --ed-accent: #3b82f6;
  --ed-accent-soft: rgba(59, 130, 246, .12);
  --ed-radius: 14px;
  --ed-radius-sm: 10px;
  --body-font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body-bg-color: #f4f6fa;
  --link-color: var(--ed-accent);

  /* donker */
  --body-bg-color-dark: #0f1419;
  --header-bg-color-dark: #11161c;
  --card-dark-color: #171d24;
  --card-dark-divider: #232b35;
  --card-dark-hover: #1d2530;
  --card-dark-input: #11161c;
  --body-color-dark: #c9d3de;
}

body {
  font-family: var(--body-font-family) !important;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -.005em;
}

/* ---------- Header ---------- */
.main-header {
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  box-shadow: none !important;
}
body.night-mode .main-header {
  background: var(--header-bg-color-dark) !important;
  border-bottom-color: var(--card-dark-divider);
}
.main-header .search-wrapper .form-control {
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  transition: border-color .15s, box-shadow .15s;
}
.main-header .search-wrapper .form-control:focus {
  border-color: var(--ed-accent) !important;
  box-shadow: 0 0 0 4px var(--ed-accent-soft) !important;
}
.main-header .header-icon,
.main-header .user-menu {
  transition: opacity .15s, transform .15s;
}
.main-header a:hover .header-icon { transform: translateY(-1px); }

/* ---------- Kaarten ---------- */
.card,
.publisher,
.stories-wrapper {
  border-radius: var(--ed-radius) !important;
  border: 1px solid rgba(0, 0, 0, .05) !important;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04) !important;
}
body.night-mode .card,
body.night-mode .publisher {
  border-color: var(--card-dark-divider) !important;
  box-shadow: none !important;
}
.card-header {
  background: transparent !important;
  border-bottom: 0 !important;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.01em;
}
.card-header a,
.card-header .float-end a {
  font-size: 12px;
  font-weight: 600;
  text-transform: none !important;
  color: var(--ed-accent) !important;
}

/* ---------- Zijnavigatie ---------- */
.side-nav a,
.side-nav .static {
  border-radius: var(--ed-radius-sm) !important;
  padding: 9px 12px !important;
  font-weight: 500;
  font-size: 14px;
  transition: background .15s, color .15s;
}
.side-nav a:hover { background: var(--ed-accent-soft) !important; }
.side-nav > li.active > a {
  background: var(--ed-accent-soft) !important;
  color: var(--ed-accent) !important;
  font-weight: 600;
}
body.night-mode .side-nav > li.active > a { color: #93c5fd !important; }
.side-nav .static,
.side-nav li.ptb5 small,
.side-nav small.text-muted {
  font-size: 11px !important;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .55;
}

/* ---------- Publisher & posts ---------- */
.publisher-message,
.publisher textarea:not(.form-control) { font-size: 15px; }
.post { border-radius: var(--ed-radius) !important; }
.post-header .post-author,
.post-header a.post-author { font-weight: 600 !important; }
.post-time { font-size: 12px; opacity: .7; }
.post-meta { font-size: 12px; } /* geen opacity: het uitklapmenu zit hierin */
.post-title,
.post-text a.blog-title { letter-spacing: -.01em; }

/* ---------- Knoppen ---------- */
.btn {
  border-radius: var(--ed-radius-sm) !important;
  font-weight: 600;
  transition: transform .1s, box-shadow .15s, background .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--ed-accent) !important;
  border-color: var(--ed-accent) !important;
}
.btn-primary:hover { box-shadow: 0 6px 16px rgba(59, 130, 246, .3); }
.btn-light, .btn-default {
  border: 1px solid rgba(0, 0, 0, .08) !important;
}
body.night-mode .btn-light,
body.night-mode .btn-default {
  background: var(--card-dark-hover) !important;
  border-color: var(--card-dark-divider) !important;
  color: var(--body-color-dark) !important;
}

/* ---------- Avatars & lijsten ---------- */
.data-avatar img,
.post-avatar-picture,
.feeds-item img.rounded-circle {
  box-shadow: 0 0 0 2px var(--card-dark-color);
}
.feeds-item { border-radius: var(--ed-radius-sm); transition: background .15s; }
.feeds-item.with-hover:hover { background: var(--ed-accent-soft) !important; }

/* ---------- Sponsorblok compacter ---------- */
.ads-title { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.ads-descrition img { max-width: 100%; border-radius: var(--ed-radius-sm); }
.ads-descrition img:not([src]),
.ads-descrition img[src=""] { display: none; }

/* ---------- Formulieren ---------- */
.form-control, .form-select {
  border-radius: var(--ed-radius-sm) !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--ed-accent) !important;
  box-shadow: 0 0 0 4px var(--ed-accent-soft) !important;
}

/* ---------- Scrollbar ---------- */
* { scrollbar-width: thin; scrollbar-color: rgba(128,128,128,.35) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb { background: rgba(128,128,128,.35); border-radius: 10px; border: 3px solid transparent; background-clip: padding-box; }

/* =========================================================
   Layout v2
   ========================================================= */
.sg-offcanvas.container, .sg-offcanvas.container-fluid { max-width: 1320px; }

/* Zijmenu (main-side-nav) */
.main-side-nav-card .card-body { padding: 10px !important; }
.main-side-nav a {
  display: flex !important; align-items: center;
  border-radius: var(--ed-radius-sm) !important;
  padding: 9px 12px !important; margin-bottom: 2px;
  font-size: 14px !important; font-weight: 500 !important;
  transition: background .15s, color .15s;
}
.main-side-nav a .main-icon { width: 20px !important; height: 20px !important; opacity: .85; }
.main-side-nav a:hover { background: var(--ed-accent-soft) !important; }
.main-side-nav > li.active > a,
.main-side-nav ul > li.active > a {
  background: var(--ed-accent-soft) !important;
  color: var(--ed-accent) !important; font-weight: 600 !important;
}
body.night-mode .main-side-nav > li.active > a,
body.night-mode .main-side-nav ul > li.active > a { color: #93c5fd !important; }
.main-side-nav > li.ptb5, .main-side-nav small {
  font-size: 11px !important; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; opacity: .5; padding: 14px 12px 6px !important;
}

/* Profielkaart */
.ed-profile-card { overflow: hidden; }
.ed-profile-cover {
  height: 72px; background-size: cover; background-position: center;
  background-image: linear-gradient(135deg, #1e40af 0%, #3b82f6 55%, #06b6d4 100%);
}
.ed-profile-body { padding: 0 18px 18px; text-align: center; }
.ed-profile-avatar img {
  width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  margin-top: -36px; border: 4px solid var(--card-dark-color);
  background: var(--card-dark-color);
}
body:not(.night-mode) .ed-profile-avatar img { border-color: #fff; background: #fff; }
.ed-profile-name { display: block; margin-top: 8px; font-weight: 700; font-size: 16px; color: inherit !important; }
.ed-profile-handle { font-size: 13px; opacity: .6; }

/* Hero */
.ed-hero {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-end; justify-content: space-between;
  padding: 26px 26px 22px; margin-bottom: 20px;
  border-radius: var(--ed-radius);
  background:
    radial-gradient(600px 200px at 100% 0%, rgba(6,182,212,.25), transparent 60%),
    linear-gradient(135deg, #1e3a8a 0%, #2563eb 60%, #3b82f6 100%);
  color: #fff;
}
.ed-hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.ed-hero-title { font-size: 24px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 4px; color: #fff; }
.ed-hero-sub { margin: 0; opacity: .8; font-size: 14px; }
.ed-hero-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.ed-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2);
  color: #fff !important; font-size: 13px; font-weight: 600; text-decoration: none !important;
  transition: background .15s;
}
.ed-chip:hover { background: rgba(255,255,255,.24); }
.ed-chip .main-icon, .ed-chip .main-icon * { fill: #fff !important; color: #fff !important; }

/* Stories compacter */
.stories-wrapper { border: 0 !important; box-shadow: none !important; }
.add-story .img { border-radius: 12px !important; }

/* Sponsor in zijkolom */
.ed-sponsor:empty { display: none; }
.ed-sponsor .card, .ed-sponsor > div { margin-bottom: 20px; }

/* Rechterkolom: lijsten strakker */
.js_sticky-sidebar .card .feeds-item { padding-top: 10px !important; padding-bottom: 10px !important; border-bottom: 0 !important; }
.js_sticky-sidebar .card .data-avatar img { width: 40px !important; height: 40px !important; }
.js_sticky-sidebar .card .name a, .js_sticky-sidebar .card .data-content .name { font-size: 14px; font-weight: 600; }

/* Feed-filterbalk */
.posts-filter, .posts-filter + hr { border: 0 !important; }

@media (max-width: 767px) {
  .ed-hero { padding: 20px; }
  .ed-hero-title { font-size: 20px; }
}

/* =========================================================
   Admin dashboard
   ========================================================= */
.ed-admin { --ed-tile: #fff; --ed-tile-border: rgba(16,24,40,.08); --ed-muted: #667085; }
body.night-mode .ed-admin { --ed-tile: var(--card-dark-color); --ed-tile-border: var(--card-dark-divider); --ed-muted: #8b98a8; }

.ed-admin-head {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between;
  padding: 28px; margin-bottom: 24px; border-radius: var(--ed-radius); color: #fff;
  background:
    radial-gradient(700px 240px at 100% 0%, rgba(6,182,212,.28), transparent 60%),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 55%, #2563eb 100%);
}
.ed-admin-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.ed-admin-title { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 6px 0 4px; color: #fff; }
.ed-admin-sub { margin: 0; font-size: 14px; opacity: .75; }
.ed-admin-actions { display: flex; gap: 8px; }
.ed-admin-head .btn-light { background: rgba(255,255,255,.12) !important; border-color: rgba(255,255,255,.2) !important; color: #fff !important; }
.ed-admin-head .btn-light:hover { background: rgba(255,255,255,.2) !important; }

.ed-section-label {
  font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ed-muted); margin: 6px 2px 12px;
}

.ed-kpi-grid {
  display: grid; gap: 16px; margin-bottom: 28px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.ed-kpi {
  position: relative; display: flex; flex-direction: column;
  padding: 18px 20px; border-radius: var(--ed-radius);
  background: var(--ed-tile); border: 1px solid var(--ed-tile-border);
  color: inherit !important; text-decoration: none !important;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
a.ed-kpi:hover { transform: translateY(-2px); border-color: var(--ed-accent); box-shadow: 0 10px 24px rgba(0,0,0,.12); }
.ed-kpi-icon {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-size: 16px; margin-bottom: 14px;
}
.ed-kpi-value { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ed-kpi-label { font-size: 14px; color: var(--ed-muted); margin-top: 2px; }
.ed-kpi-link { margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--ed-accent); }
.ed-kpi-link i { font-size: 10px; margin-left: 4px; transition: transform .15s; }
a.ed-kpi:hover .ed-kpi-link i { transform: translateX(3px); }

.c-blue   { background: rgba(59,130,246,.14);  color: #3b82f6; }
.c-green  { background: rgba(34,197,94,.14);   color: #22c55e; }
.c-red    { background: rgba(239,68,68,.14);   color: #ef4444; }
.c-amber  { background: rgba(245,158,11,.16);  color: #f59e0b; }
.c-indigo { background: rgba(99,102,241,.14);  color: #6366f1; }
.c-violet { background: rgba(168,85,247,.14);  color: #a855f7; }
.c-cyan   { background: rgba(6,182,212,.14);   color: #06b6d4; }

.ed-visits {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 28px;
  border-radius: var(--ed-radius); overflow: hidden;
  background: var(--ed-tile); border: 1px solid var(--ed-tile-border);
}
.ed-visit { padding: 18px 22px; display: flex; flex-direction: column; }
.ed-visit + .ed-visit { border-left: 1px solid var(--ed-tile-border); }
.ed-visit-label { font-size: 13px; color: var(--ed-muted); }
.ed-visit-value { font-size: 24px; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

.ed-chart-card { margin-bottom: 28px; }
.ed-chart-card .highcharts-background { fill: transparent !important; }
.ed-chart-card .admin-chart { min-height: 320px; }

@media (max-width: 575px) {
  .ed-visits { grid-template-columns: 1fr; }
  .ed-visit + .ed-visit { border-left: 0; border-top: 1px solid var(--ed-tile-border); }
}

/* Admin-zijmenu */
.side-nav .static, .card .side-nav-title, .card-header.with-nav { letter-spacing: .1em; }

/* =========================================================
   Gebruikersmenu (header)
   ========================================================= */
.ed-user-menu {
  --um-bg: #fff; --um-border: rgba(16,24,40,.08); --um-hover: rgba(16,24,40,.05); --um-muted: #667085;
  width: 300px; padding: 8px !important; margin-top: 10px !important;
  border-radius: 16px !important; border: 1px solid var(--um-border) !important;
  background: var(--um-bg) !important;
  box-shadow: 0 20px 50px rgba(0,0,0,.25), 0 2px 6px rgba(0,0,0,.08) !important;
  animation: edUmIn .14s ease-out;
}
body.night-mode .ed-user-menu {
  --um-bg: #161c23; --um-border: #252e39; --um-hover: rgba(255,255,255,.05); --um-muted: #8b98a8;
}
@keyframes edUmIn { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }

.ed-um-profile {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px;
  color: inherit !important; text-decoration: none !important; transition: background .12s;
}
.ed-um-profile:hover { background: var(--um-hover); }
.ed-um-profile img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--ed-accent); }
.ed-um-id { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ed-um-name { font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ed-um-handle { font-size: 12px; color: var(--um-muted); }
.ed-um-chev { font-size: 11px; color: var(--um-muted); }

.ed-um-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(0,1fr)); gap: 6px; margin: 4px 2px 6px; }
.ed-um-stats a {
  display: flex; flex-direction: column; padding: 8px 10px; border-radius: 10px;
  border: 1px solid var(--um-border); color: inherit !important; text-decoration: none !important;
}
.ed-um-stats a:hover { border-color: var(--ed-accent); }
.ed-um-stat-label { font-size: 11px; color: var(--um-muted); }
.ed-um-stat-value { font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }

.ed-um-upgrade {
  display: flex; align-items: center; gap: 8px; margin: 4px 2px 6px; padding: 9px 12px; border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff !important;
  font-size: 13px; font-weight: 600; text-decoration: none !important;
}

.ed-um-group { padding-top: 6px; margin-top: 6px; border-top: 1px solid var(--um-border); }
.ed-um-label {
  padding: 6px 10px 4px; font-size: 11px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--um-muted);
}
.ed-user-menu .dropdown-item {
  display: flex !important; align-items: center; gap: 12px;
  padding: 9px 10px !important; border-radius: 10px;
  font-size: 14px; font-weight: 500; color: inherit !important; background: transparent !important;
  transition: background .12s;
}
.ed-user-menu .dropdown-item:hover { background: var(--um-hover) !important; }
.ed-user-menu .dropdown-item .main-icon { flex: 0 0 18px; opacity: .8; }
.ed-um-badge {
  margin-left: auto; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 2px 8px; border-radius: 999px; background: var(--ed-accent-soft); color: var(--ed-accent);
}
.ed-um-kbd {
  margin-left: auto; font-size: 11px; padding: 1px 7px; border-radius: 6px;
  background: transparent; color: var(--um-muted); border: 1px solid var(--um-border); box-shadow: none;
}
.ed-um-logout { margin-top: 6px; border-top: 1px solid var(--um-border); border-radius: 0 0 10px 10px !important; padding-top: 12px !important; }
.ed-user-menu .ed-um-logout { color: #ef4444 !important; }
.ed-user-menu .ed-um-logout .main-icon, .ed-user-menu .ed-um-logout .main-icon * { fill: #ef4444 !important; color: #ef4444 !important; }
.ed-user-menu .ed-um-logout:hover { background: rgba(239,68,68,.1) !important; }

/* Avatar-knop in de header */
.main-header .user-menu img { border-radius: 50%; box-shadow: 0 0 0 2px transparent; transition: box-shadow .15s; }
.main-header .user-menu:hover img, .main-header .show > .user-menu img { box-shadow: 0 0 0 2px var(--ed-accent); }

/* =========================================================
   Hoofdmenu links (v3)
   ========================================================= */
.main-side-nav-card { --nav-muted: #667085; --nav-icon: #98a2b3; --nav-hover: rgba(16,24,40,.04); --nav-line: rgba(16,24,40,.08); }
body.night-mode .main-side-nav-card { --nav-muted: #8b98a8; --nav-icon: #7d8a9a; --nav-hover: rgba(255,255,255,.04); --nav-line: #242d38; }
.main-side-nav-card .card-body { padding: 12px !important; }

.main-side-nav > li > a,
.main-side-nav ul a {
  position: relative;
  display: flex !important; align-items: center; gap: 12px;
  padding: 9px 12px !important; margin: 0 0 2px !important;
  border-radius: 10px !important; border: 0 !important;
  font-size: 14px !important; font-weight: 500 !important;
  color: inherit !important; background: transparent !important;
  transition: background .12s, color .12s;
}
.main-side-nav > li > a:hover,
.main-side-nav ul a:hover { background: var(--nav-hover) !important; }

/* iconen: rustig grijs, consistent formaat */
.main-side-nav a .main-icon,
.main-side-nav a > img { width: 20px !important; height: 20px !important; flex: 0 0 20px; margin: 0 !important; opacity: 1; }
body .main-side-nav a .main-icon,
body .main-side-nav a .main-icon *,
body.night-mode .main-side-nav a .main-icon,
body.night-mode .main-side-nav a .main-icon * { fill: var(--nav-icon) !important; color: var(--nav-icon) !important; transition: fill .12s; }
body .main-side-nav a:hover .main-icon,
body .main-side-nav a:hover .main-icon * { fill: currentColor !important; color: inherit !important; }

/* actief item: accentbalk + zachte achtergrond */
.main-side-nav > li.active > a,
.main-side-nav ul > li.active > a {
  background: var(--ed-accent-soft) !important;
  color: var(--ed-accent) !important; font-weight: 600 !important;
}
body.night-mode .main-side-nav > li.active > a,
body.night-mode .main-side-nav ul > li.active > a { color: #93c5fd !important; }
.main-side-nav > li.active > a::before {
  content: ""; position: absolute; left: -12px; top: 8px; bottom: 8px; width: 3px;
  border-radius: 0 3px 3px 0; background: var(--ed-accent);
}
body .main-side-nav li.active > a .main-icon,
body .main-side-nav li.active > a .main-icon * { fill: var(--ed-accent) !important; color: var(--ed-accent) !important; }
body.night-mode .main-side-nav li.active > a .main-icon,
body.night-mode .main-side-nav li.active > a .main-icon * { fill: #93c5fd !important; color: #93c5fd !important; }

/* uitklap-pijltje rechts uitlijnen */
.main-side-nav a[data-bs-toggle="collapse"]::after {
  float: none !important; margin-left: auto;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important; font-weight: 900 !important;
  content: "\f078" !important; font-size: 10px; color: var(--nav-muted) !important;
  transition: transform .2s ease;
}
.main-side-nav a[data-bs-toggle="collapse"][aria-expanded="true"]::after { transform: rotate(180deg); }

/* submenu met lijn */
.main-side-nav ul { margin: 2px 0 6px 22px !important; padding-left: 12px !important; border-left: 1px solid var(--nav-line); }
.main-side-nav ul a { font-size: 13px !important; padding: 7px 10px !important; color: var(--nav-muted) !important; }
.main-side-nav ul a .main-icon { width: 16px !important; height: 16px !important; flex-basis: 16px; }

/* sectiekop (EXPLORE) met scheidingslijn */
.main-side-nav > li.ptb5,
.main-side-nav > li > small,
.main-side-nav > li:not(:has(a)) {
  display: flex; align-items: center; gap: 10px;
  margin: 12px 0 4px; padding: 6px 12px 4px !important;
  font-size: 11px !important; font-weight: 600 !important; letter-spacing: .1em;
  text-transform: uppercase; color: var(--nav-muted) !important; opacity: 1 !important;
}
.main-side-nav > li:not(:has(a))::after { content: ""; flex: 1; height: 1px; background: var(--nav-line); }

/* =========================================================
   Admin: Actie nodig + groei
   ========================================================= */
.ed-dash-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; margin-bottom: 28px; }
@media (max-width: 991px) { .ed-dash-row { grid-template-columns: 1fr; } }
.ed-panel { padding: 20px; border-radius: var(--ed-radius); background: var(--ed-tile); border: 1px solid var(--ed-tile-border); }
.ed-panel-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.ed-panel-title { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.ed-panel-sub { font-size: 13px; color: var(--ed-muted); }
.ed-pill { min-width: 28px; height: 28px; padding: 0 10px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 13px; font-weight: 700; }
.ed-pill-warn { background: rgba(245,158,11,.16); color: #f59e0b; }
.ed-pill-ok { background: rgba(34,197,94,.16); color: #22c55e; }

.ed-action-list { display: flex; flex-direction: column; gap: 4px; }
.ed-action {
  display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px;
  color: inherit !important; text-decoration: none !important; transition: background .12s;
}
.ed-action:hover { background: var(--ed-accent-soft); }
.ed-action .ed-kpi-icon { margin: 0; width: 36px; height: 36px; font-size: 14px; flex: 0 0 36px; }
.ed-action-text { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ed-action-label { font-weight: 600; font-size: 14px; }
.ed-action-hint { font-size: 12px; color: var(--ed-muted); }
.ed-action-count { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ed-action-chev { font-size: 11px; color: var(--ed-muted); }
.ed-action.is-zero { opacity: .45; }
.ed-action.is-zero .ed-action-count { font-weight: 500; }

.ed-empty { text-align: center; padding: 28px 10px; color: var(--ed-muted); }
.ed-empty i { font-size: 36px; color: #22c55e; margin-bottom: 10px; display: block; }
.ed-empty div { font-weight: 600; font-size: 15px; color: inherit; }
body.night-mode .ed-empty div { color: var(--body-color-dark); }

.ed-ring {
  --p: 0; width: 140px; height: 140px; margin: 6px auto 18px; border-radius: 50%;
  background: conic-gradient(var(--ed-accent) calc(var(--p) * 1%), var(--ed-tile-border) 0);
  display: grid; place-items: center;
}
.ed-ring-inner { width: 112px; height: 112px; border-radius: 50%; background: var(--ed-tile); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.ed-ring-value { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.ed-ring-label { font-size: 11px; color: var(--ed-muted); }
.ed-active-rows > div { display: flex; justify-content: space-between; padding: 8px 2px; font-size: 14px; border-top: 1px solid var(--ed-tile-border); }
.ed-active-rows span { color: var(--ed-muted); }
.ed-active-rows strong { font-variant-numeric: tabular-nums; }

.ed-section-note { text-transform: none; letter-spacing: 0; font-weight: 400; margin-left: 6px; opacity: .8; }
.ed-growth-top { display: flex; align-items: flex-start; justify-content: space-between; }
.ed-delta { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.ed-delta i { font-size: 10px; }
.ed-delta.up { background: rgba(34,197,94,.14); color: #22c55e; }
.ed-delta.down { background: rgba(239,68,68,.14); color: #ef4444; }
.ed-delta.flat { background: var(--ed-tile-border); color: var(--ed-muted); }
.ed-spark { width: 100%; height: 34px; margin-top: 12px; overflow: visible; }
.ed-spark polyline { stroke: var(--ed-accent); stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ed-spark.down polyline { stroke: #ef4444; }
.ed-growth-prev { margin-top: 6px; font-size: 12px; color: var(--ed-muted); }

/* =========================================================
   Admin: beheerderslog + systeemstatus
   ========================================================= */
.ed-admin-head-sm { padding: 22px 26px; }
.ed-admin-head-sm .ed-admin-title { font-size: 22px; }

.ed-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ed-filters .form-select { width: auto; min-width: 170px; }
body.night-mode .ed-filters .form-select { background-color: var(--ed-tile); border-color: var(--ed-tile-border); color: var(--body-color-dark); }

.ed-log { padding: 8px 12px; }
.ed-log-day {
  position: sticky; top: 0; z-index: 1; padding: 14px 8px 6px; font-size: 12px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ed-muted); background: var(--ed-tile);
}
.ed-log-row { border-radius: 12px; }
.ed-log-row + .ed-log-row { border-top: 1px solid var(--ed-tile-border); }
.ed-log-row summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 12px 8px; border-radius: 12px;
}
.ed-log-row summary::-webkit-details-marker { display: none; }
.ed-log-row summary:hover { background: var(--ed-accent-soft); }
.ed-log-row .ed-kpi-icon { margin: 0; width: 34px; height: 34px; font-size: 13px; flex: 0 0 34px; }
.ed-log-main { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ed-log-desc { font-weight: 600; font-size: 14px; }
.ed-log-target { font-weight: 500; color: var(--ed-muted); font-variant-numeric: tabular-nums; }
.ed-log-meta { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ed-muted); }
.ed-log-meta img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.ed-log-time { font-size: 13px; color: var(--ed-muted); font-variant-numeric: tabular-nums; }
.ed-log-details { margin: 0 8px 12px 56px; padding: 10px 14px; border-radius: 10px; background: var(--ed-accent-soft); }
.ed-log-kv { display: flex; gap: 12px; padding: 3px 0; font-size: 13px; }
.ed-log-kv span { flex: 0 0 160px; color: var(--ed-muted); overflow: hidden; text-overflow: ellipsis; }
.ed-log-kv code { color: inherit; background: none; padding: 0; word-break: break-word; }
.ed-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 18px 0; font-size: 13px; color: var(--ed-muted); }

.ed-status-summary {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px; margin-bottom: 20px;
  border-radius: var(--ed-radius); border: 1px solid var(--ed-tile-border); background: var(--ed-tile);
}
.ed-status-big { font-size: 32px; line-height: 1; }
.ed-status-summary.is-ok .ed-status-big { color: #22c55e; }
.ed-status-summary.is-warn .ed-status-big { color: #f59e0b; }
.ed-status-summary.is-error .ed-status-big { color: #ef4444; }
.ed-status-summary.is-ok { border-color: rgba(34,197,94,.35); }
.ed-status-summary.is-warn { border-color: rgba(245,158,11,.35); }
.ed-status-summary.is-error { border-color: rgba(239,68,68,.4); }
.ed-status-counts { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-size: 13px; color: var(--ed-muted); margin-top: 4px; }
.ed-status-counts .dot { margin-right: -8px; }
.ed-status-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-bottom: 28px; }
.ed-check { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--ed-tile-border); }
.ed-check-label { flex: 1; font-size: 14px; display: flex; flex-direction: column; }
.ed-check-label small { font-size: 12px; color: var(--ed-muted); }
.ed-check-value { font-size: 13px; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; max-width: 55%; overflow-wrap: anywhere; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 8px; display: inline-block; background: var(--ed-muted); }
.dot.ok { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
.dot.warn { background: #f59e0b; box-shadow: 0 0 0 3px rgba(245,158,11,.18); }
.dot.error { background: #ef4444; box-shadow: 0 0 0 3px rgba(239,68,68,.18); }
.dot.info { background: #64748b; }

/* =========================================================
   EnDrip Social — profiel, krabbels, respect, status
   ========================================================= */
.ed-profile-page { --ed-tile: #fff; --ed-tile-border: rgba(16,24,40,.08); --ed-muted: #667085; }
body.night-mode.ed-profile-page { --ed-tile: var(--card-dark-color); --ed-tile-border: var(--card-dark-divider); --ed-muted: #8b98a8; }

/* profielkop */
.ed-profile-page .profile-header { border-radius: 0 0 var(--ed-radius) var(--ed-radius); }
.ed-profile-page .profile-cover-wrapper { border-radius: var(--ed-radius) var(--ed-radius) 0 0; overflow: hidden; }
.ed-profile-page .profile-avatar-wrapper img { box-shadow: 0 0 0 4px var(--ed-tile), 0 0 0 6px var(--ed-accent); }
.ed-name-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.ed-status-chip, .ed-respect-chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 500; background: var(--ed-accent-soft); color: inherit !important;
  border: 1px solid transparent; text-decoration: none !important; max-width: 100%;
}
.ed-status-chip[role=button] { cursor: pointer; }
.ed-status-chip.is-empty { background: transparent; border: 1px dashed var(--ed-tile-border); color: var(--ed-muted) !important; }
.ed-respect-chip i { color: var(--ed-accent); }
.ed-respect-chip { background: transparent; border-color: var(--ed-tile-border); font-variant-numeric: tabular-nums; }
.ed-customize-btn { background: var(--ed-accent) !important; border-color: var(--ed-accent) !important; }
.profile-tabs-wrapper a .ed-tab-count {
  margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700;
  background: var(--ed-accent-soft); color: var(--ed-accent);
}
.profile-tabs-wrapper a.active { color: var(--ed-accent) !important; box-shadow: inset 0 -2px 0 var(--ed-accent); }

/* widgets */
.ed-w { padding: 16px 18px !important; }
.ed-w-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.ed-w-title { font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.ed-w-title > i { color: var(--ed-accent); }
.ed-w-link { font-size: 12px; font-weight: 600; color: var(--ed-accent) !important; }
.ed-muted-sm { font-size: 12px; color: var(--ed-muted); }
.ed-icon-btn {
  width: 30px; height: 30px; border-radius: 8px; border: 0; background: transparent; color: var(--ed-muted);
  display: inline-grid; place-items: center; transition: background .12s;
}
.ed-icon-btn:hover { background: var(--ed-accent-soft); color: var(--ed-accent); }
.ed-empty-cta {
  width: 100%; padding: 12px; border-radius: 12px; border: 1px dashed var(--ed-tile-border);
  background: transparent; color: var(--ed-muted); font-size: 13px; font-weight: 500;
}
.ed-empty-cta:hover { border-color: var(--ed-accent); color: var(--ed-accent); }

.ed-status { display: flex; gap: 12px; align-items: flex-start; }
.ed-status-emoji { font-size: 30px; line-height: 1; }
.ed-status-text { font-weight: 600; }
.ed-status-where, .ed-status-until { font-size: 13px; color: var(--ed-muted); }

.ed-respect { display: flex; align-items: center; gap: 14px; }
.ed-respect-badge {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #fff;
  background: linear-gradient(135deg, var(--ed-accent), color-mix(in srgb, var(--ed-accent) 60%, #000));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--ed-accent) 35%, transparent);
}
.ed-respect-count { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ed-avatars { display: flex; margin-top: 4px; }
.ed-avatars img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ed-tile); margin-left: -6px; }
.ed-avatars a:first-child img { margin-left: 0; }
.ed-pop { animation: edPop .4s ease; }
@keyframes edPop { 40% { transform: scale(1.06); } }

.ed-song-frame { width: 100%; border: 0; border-radius: 12px; display: block; }

.ed-top8 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ed-top8-item { display: flex; flex-direction: column; align-items: center; gap: 4px; text-decoration: none !important; color: inherit !important; min-width: 0; }
.ed-top8-item img { width: 100%; aspect-ratio: 1; border-radius: 14px; object-fit: cover; transition: transform .15s; }
.ed-top8-item:hover img { transform: translateY(-2px); }
.ed-top8-item span { font-size: 12px; font-weight: 500; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ed-visitors { display: flex; flex-direction: column; gap: 2px; }
.ed-visitor { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; color: inherit !important; text-decoration: none !important; }
.ed-visitor:hover { background: var(--ed-accent-soft); }
.ed-visitor img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.ed-visitor-name { flex: 1; font-size: 14px; font-weight: 500; }
.ed-visitor-time { font-size: 12px; color: var(--ed-muted); }

/* krabbels */
.ed-krabbels-card { padding: 18px !important; }
.ed-krabbel-form { display: flex; gap: 12px; padding: 12px; border-radius: 14px; background: var(--ed-accent-soft); margin-bottom: 8px; }
.ed-krabbel-form-avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: 0 0 38px; }
.ed-krabbel-form-main { flex: 1; min-width: 0; }
.ed-krabbel-form textarea {
  width: 100%; border: 0; outline: 0; resize: none; background: transparent; color: inherit;
  font-size: 15px; line-height: 1.5; padding: 6px 0; min-height: 44px;
}
.ed-krabbel-form-bar { display: flex; align-items: center; gap: 10px; }
.ed-emoji-quick { display: flex; gap: 2px; flex: 1; overflow-x: auto; scrollbar-width: none; }
.ed-emoji-quick button { border: 0; background: transparent; font-size: 18px; padding: 2px 4px; border-radius: 8px; transition: transform .1s, background .1s; }
.ed-emoji-quick button:hover { background: var(--ed-tile); transform: scale(1.15); }
.ed-counter { font-size: 12px; color: var(--ed-muted); font-variant-numeric: tabular-nums; }
.ed-note { display: flex; align-items: center; gap: 8px; padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; font-size: 13px; color: var(--ed-muted); border: 1px dashed var(--ed-tile-border); }

.ed-krabbel-list { display: flex; flex-direction: column; }
.ed-krabbel { display: flex; gap: 12px; padding: 14px 4px; border-top: 1px solid var(--ed-tile-border); transition: opacity .2s, transform .2s; }
.ed-krabbel:first-child { border-top: 0; }
.ed-krabbel.is-new { animation: edIn .35s ease; }
.ed-krabbel.is-removing { opacity: 0; transform: translateX(10px); }
@keyframes edIn { from { opacity: 0; transform: translateY(-6px); } }
.ed-krabbel.is-pinned { background: var(--ed-accent-soft); border-radius: 12px; padding: 14px 12px; border-top: 0; margin-bottom: 4px; }
.ed-krabbel.is-hidden { opacity: .55; }
.ed-krabbel-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ed-krabbel-body { flex: 1; min-width: 0; }
.ed-krabbel-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.ed-krabbel-name { font-weight: 600; font-size: 14px; color: inherit !important; }
.ed-verified { color: var(--ed-accent); font-size: 12px; }
.ed-krabbel-time { font-size: 12px; color: var(--ed-muted); }
.ed-krabbel-menu { margin-left: auto; }
.ed-tag { font-size: 11px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--ed-accent-soft); color: var(--ed-accent); }
.ed-tag-muted { background: var(--ed-tile-border); color: var(--ed-muted); }
.ed-krabbel-text { margin-top: 4px; font-size: 15px; line-height: 1.55; overflow-wrap: anywhere; }
.ed-krabbel-text a { color: var(--ed-accent) !important; }
.ed-krabbel-empty { padding: 18px 4px; text-align: center; }

/* modals */
.ed-modal .modal-content { border-radius: 18px; border: 1px solid var(--ed-tile-border, rgba(0,0,0,.08)); }
body.night-mode .ed-modal .modal-content { background: #161c23; color: var(--body-color-dark); }
.ed-modal .modal-header, .ed-modal .modal-footer { border-color: var(--ed-tile-border, rgba(0,0,0,.08)); }
.ed-label { display: block; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
.ed-label:first-child { margin-top: 0; }
.ed-emoji-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; }
.ed-emoji-grid button { font-size: 22px; padding: 6px 0; border-radius: 10px; border: 1px solid transparent; background: var(--ed-accent-soft); }
.ed-emoji-grid button.active { border-color: var(--ed-accent); box-shadow: 0 0 0 3px var(--ed-accent-soft); }
.ed-seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--ed-accent-soft); }
.ed-seg input { display: none; }
.ed-seg span { display: block; padding: 6px 12px; border-radius: 9px; font-size: 13px; font-weight: 500; cursor: pointer; }
.ed-seg input:checked + span { background: var(--ed-accent); color: #fff; }

.ed-style-section { padding: 16px 0; border-top: 1px solid var(--ed-tile-border, rgba(0,0,0,.08)); }
.ed-style-section:first-child { border-top: 0; padding-top: 0; }
.ed-style-title { font-weight: 700; font-size: 14px; margin-bottom: 10px; }
.ed-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.ed-swatch input { display: none; }
.ed-swatch span { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--sw); cursor: pointer; transition: transform .1s; }
.ed-swatch input:checked + span { box-shadow: 0 0 0 3px var(--ed-tile, #fff), 0 0 0 5px var(--sw); transform: scale(1.05); }
.ed-bgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
.ed-bg input { display: none; }
.ed-bg { cursor: pointer; text-align: center; }
.ed-bg-preview { display: block; height: 60px; border-radius: 12px; border: 2px solid var(--ed-tile-border, rgba(0,0,0,.1)); }
.ed-bg input:checked + .ed-bg-preview { border-color: var(--ed-accent); }
.ed-bg-label { font-size: 12px; }
.ed-toggles { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px; }
.ed-toggle { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; }
.ed-toggle input { display: none; }
.ed-toggle-ui { flex: 0 0 36px; height: 20px; border-radius: 999px; background: var(--ed-tile-border, #ccc); position: relative; transition: background .15s; margin-top: 1px; }
.ed-toggle-ui::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.ed-toggle input:checked + .ed-toggle-ui { background: var(--ed-accent); }
.ed-toggle input:checked + .ed-toggle-ui::after { transform: translateX(16px); }
.ed-friend-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; max-height: 260px; overflow-y: auto; }
.ed-friend { position: relative; display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 10px; border: 1px solid var(--ed-tile-border, rgba(0,0,0,.08)); background: transparent; color: inherit; text-align: left; font-size: 13px; }
.ed-friend img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.ed-friend span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-friend.is-chosen { border-color: var(--ed-accent); background: var(--ed-accent-soft); }
.ed-friend b { width: 20px; height: 20px; border-radius: 50%; background: var(--ed-accent); color: #fff; font-size: 11px; display: grid; place-items: center; }

/* toast */
.ed-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 2000; transform: translate(-50%, 20px); opacity: 0;
  padding: 10px 18px; border-radius: 12px; background: #111827; color: #fff; font-size: 14px; font-weight: 500;
  box-shadow: 0 10px 30px rgba(0,0,0,.3); transition: opacity .2s, transform .2s;
}
.ed-toast.show { opacity: 1; transform: translate(-50%, 0); }
.ed-toast.err { background: #b91c1c; }
.is-busy { opacity: .6; pointer-events: none; }

/* =========================================================
   EnDrip — melden, feed-activiteit, vriendschapsjaren
   ========================================================= */
.ed-report-cats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.ed-report-cat input { display: none; }
.ed-report-cat span { display: block; padding: 8px 12px; border-radius: 10px; font-size: 13px; cursor: pointer; border: 1px solid var(--ed-tile-border, rgba(0,0,0,.1)); }
.ed-report-cat input:checked + span { border-color: #ef4444; background: rgba(239,68,68,.1); color: #ef4444; font-weight: 600; }

.ed-activity, .ed-anniv { --ed-muted: #667085; --ed-tile-border: rgba(16,24,40,.08); }
body.night-mode .ed-activity, body.night-mode .ed-anniv { --ed-muted: #8b98a8; --ed-tile-border: var(--card-dark-divider); }
.ed-activity { padding: 16px 18px !important; }
.ed-activity .ed-w-head { margin-bottom: 6px; }
.ed-activity-list { display: flex; flex-direction: column; }
.ed-activity-item { display: flex; gap: 12px; padding: 10px 6px; border-radius: 12px; color: inherit !important; text-decoration: none !important; transition: background .12s; }
.ed-activity-item:hover { background: var(--ed-accent-soft); }
.ed-activity-avatar { position: relative; flex: 0 0 40px; }
.ed-activity-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.ed-activity-type {
  position: absolute; right: -3px; bottom: -3px; width: 20px; height: 20px; border-radius: 50%;
  display: grid; place-items: center; font-size: 10px; color: #fff; border: 2px solid var(--card-dark-color, #fff);
}
body:not(.night-mode) .ed-activity-type { border-color: #fff; }
.ed-activity-type.t-krabbel { background: #6366f1; }
.ed-activity-type.t-respect { background: #f59e0b; }
.ed-activity-type.t-status { background: #22c55e; }
.ed-activity-body { display: flex; flex-direction: column; min-width: 0; }
.ed-activity-line { font-size: 14px; }
.ed-activity-quote { font-size: 13px; color: var(--ed-muted); font-style: italic; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-activity-time { font-size: 12px; color: var(--ed-muted); }

.ed-anniv {
  display: flex; align-items: center; gap: 16px; padding: 16px 18px !important; flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(236,72,153,.14), rgba(99,102,241,.14)) !important;
  border-color: rgba(236,72,153,.3) !important;
}
.ed-anniv-pics { position: relative; display: flex; flex: 0 0 auto; }
.ed-anniv-pics img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 3px solid var(--card-dark-color, #fff); }
.ed-anniv-pics img + img { margin-left: -12px; }
.ed-anniv-badge {
  position: absolute; right: -6px; top: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 999px;
  background: #ec4899; color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center;
}
.ed-anniv-text { flex: 1; min-width: 180px; }
.ed-anniv-title { font-weight: 700; font-size: 15px; }

/* =========================================================
   Admin: gebruikerslijst + gebruiker bewerken
   ========================================================= */
:root { --ed-tile: #fff; --ed-tile-border: rgba(16,24,40,.08); --ed-muted: #667085; }
body.night-mode { --ed-tile: var(--card-dark-color); --ed-tile-border: var(--card-dark-divider); --ed-muted: #8b98a8; }

.ed-kpi-grid-3 { grid-template-columns: repeat(3, 1fr); margin-bottom: 20px; }
@media (max-width: 767px) { .ed-kpi-grid-3 { grid-template-columns: 1fr; } }
.ed-kpi-grid-3 .ed-kpi { flex-direction: row; align-items: center; gap: 14px; padding: 16px 18px; }
.ed-kpi-grid-3 .ed-kpi-icon { margin: 0; }
.ed-kpi-grid-3 .ed-kpi-value { font-size: 24px; order: 2; margin-left: auto; }
.ed-kpi-grid-3 .ed-kpi-label { order: 1; margin: 0; font-weight: 500; }

.ed-users-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ed-users-tabs { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--ed-tile-border); }
.ed-users-tabs a { padding: 6px 12px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--ed-muted) !important; text-decoration: none !important; }
.ed-users-tabs a:hover { color: inherit !important; }
.ed-users-tabs a.active { background: var(--ed-tile); color: inherit !important; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
body.night-mode .ed-users-tabs a.active { color: var(--body-color-dark) !important; }
.ed-search { position: relative; flex: 1; min-width: 240px; max-width: 380px; }
.ed-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ed-muted); font-size: 13px; }
.ed-search input {
  width: 100%; padding: 9px 14px 9px 38px; border-radius: 12px; font-size: 14px;
  border: 1px solid var(--ed-tile-border); background: var(--ed-tile); color: inherit; outline: 0;
  transition: border-color .15s, box-shadow .15s;
}
.ed-search input:focus { border-color: var(--ed-accent); box-shadow: 0 0 0 4px var(--ed-accent-soft); }

.ed-table-wrap { border: 1px solid var(--ed-tile-border); border-radius: var(--ed-radius); overflow-x: auto; }
.ed-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ed-table thead th {
  padding: 11px 16px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ed-muted); background: var(--ed-tile-border); border: 0; white-space: nowrap;
}
.ed-table tbody td { padding: 12px 16px; border-top: 1px solid var(--ed-tile-border); vertical-align: middle; }
.ed-table tbody tr { transition: background .12s; }
.ed-table tbody tr:hover { background: var(--ed-accent-soft); }
.ed-table tr.is-banned .ed-user-cell img { filter: grayscale(1); opacity: .6; }
.ed-user-cell { display: flex; align-items: center; gap: 12px; color: inherit !important; text-decoration: none !important; min-width: 0; }
.ed-user-cell img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 40px; }
.ed-user-cell > span { display: flex; flex-direction: column; min-width: 0; }
.ed-user-name { font-weight: 600; white-space: nowrap; }
.ed-user-handle { font-size: 12px; color: var(--ed-muted); }
.ed-muted-cell { color: var(--ed-muted); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ed-table-empty { text-align: center; padding: 40px 16px !important; color: var(--ed-muted); }
.ed-table-empty i { font-size: 28px; margin-bottom: 8px; display: block; }

.ed-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.ed-pill-s { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.ed-pill-s::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.ed-pill-s:has(i)::before { display: none; }
.s-active  { background: rgba(34,197,94,.14);  color: #22c55e; }
.s-pending { background: rgba(245,158,11,.16); color: #f59e0b; }
.s-banned  { background: rgba(239,68,68,.14);  color: #ef4444; }
.s-admin   { background: rgba(59,130,246,.14); color: #3b82f6; }
.s-mod     { background: rgba(168,85,247,.14); color: #a855f7; }
.s-user    { background: var(--ed-tile-border); color: var(--ed-muted); }
.s-owner   { background: linear-gradient(135deg, rgba(245,158,11,.2), rgba(236,72,153,.2)); color: #f59e0b; }

.ed-row-actions { display: inline-flex; gap: 4px; }
.ed-icon-btn.ed-icon-danger:hover { background: rgba(239,68,68,.12); color: #ef4444; }
.ed-pager-wrap { margin-top: 16px; display: flex; justify-content: center; }

/* gebruiker bewerken */
.ed-user-hero {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px; padding: 22px;
  border-radius: var(--ed-radius); color: #fff; margin-bottom: 14px;
  background:
    radial-gradient(600px 220px at 100% 0%, rgba(6,182,212,.25), transparent 60%),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #2563eb 100%);
}
.ed-user-hero-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,.85); box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.ed-user-hero-main { flex: 1; min-width: 220px; }
.ed-user-hero-name { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.ed-user-hero-name .ed-verified { color: #93c5fd; font-size: 16px; }
.ed-user-hero-handle { font-size: 14px; opacity: .85; display: flex; gap: 6px; flex-wrap: wrap; }
.ed-user-hero-handle a { color: #fff !important; }
.ed-user-hero-handle a i { font-size: 10px; opacity: .7; }
.ed-user-hero .ed-pill-s { background: rgba(255,255,255,.14); color: #fff; }
.ed-user-hero .s-banned { background: rgba(239,68,68,.85); }
.ed-user-hero .s-owner { background: linear-gradient(135deg, #f59e0b, #ec4899); }
.ed-user-hero-stats { display: flex; gap: 6px; }
.ed-user-hero-stats > div {
  display: flex; flex-direction: column; align-items: center; min-width: 84px; padding: 10px 12px;
  border-radius: 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.14);
}
.ed-user-hero-stats strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.ed-user-hero-stats span { font-size: 12px; opacity: .8; }

.ed-user-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 22px; }
.ed-user-meta > div {
  display: grid; grid-template-columns: 32px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center;
  padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ed-tile-border);
}
.ed-user-meta i { grid-row: span 2; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; background: var(--ed-accent-soft); color: var(--ed-accent); font-size: 13px; }
.ed-user-meta span { font-size: 12px; color: var(--ed-muted); }
.ed-user-meta strong { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* tabbladen als segment-balk */
.ed-tabs { border: 0 !important; gap: 4px; padding: 4px; border-radius: 12px; background: var(--ed-tile-border); flex-wrap: wrap; }
.ed-tabs .nav-link {
  border: 0 !important; border-radius: 9px !important; padding: 8px 14px !important;
  color: var(--ed-muted) !important; background: transparent !important; font-size: 14px;
}
.ed-tabs .nav-link strong { font-weight: 600; }
.ed-tabs .nav-link.active { background: var(--ed-tile) !important; color: inherit !important; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
body.night-mode .ed-tabs .nav-link.active { color: var(--body-color-dark) !important; }

/* formulieren als nette instellingen-rijen */
.ed-user-edit .tab-pane > form { border: 1px solid var(--ed-tile-border); border-radius: var(--ed-radius); padding: 4px 20px 20px; }
.ed-user-edit .tab-pane .row.form-group { padding: 16px 0; margin: 0; border-bottom: 1px solid var(--ed-tile-border); align-items: center; }
.ed-user-edit .tab-pane .row.form-group > [class*="col-"] { padding-left: 0; }
.ed-user-edit .tab-pane .row.form-group .form-label { font-weight: 600; font-size: 14px; margin: 0; }
.ed-user-edit .tab-pane .form-text { color: var(--ed-muted) !important; font-size: 12px; margin-top: 6px; }
.ed-user-edit .tab-pane .card-footer,
.ed-user-edit .tab-pane form > .text-end,
.ed-user-edit .tab-pane form > .form-group:last-child { border-bottom: 0; }
.ed-user-edit .switch .slider { transition: background .15s; }
.ed-user-edit .switch input:checked + .slider { background: var(--ed-accent) !important; }
.ed-user-edit .input-group-text { background: var(--ed-tile-border); border-color: var(--ed-tile-border); color: var(--ed-muted); font-size: 13px; }
.ed-crown { color: #f59e0b; font-size: 11px; }
.ed-user-hero .ed-crown { color: #fbbf24; }

/* =========================================================
   ADMIN — algemene moderne stijl voor álle beheerpagina's
   (alleen binnen .admin-sidebar en .ed-admin-main)
   ========================================================= */

/* ---------- uitlegbalk ---------- */
.ed-help {
  position: relative; display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 52px 16px 18px; margin-bottom: 18px; border-radius: var(--ed-radius);
  background: var(--ed-accent-soft); border: 1px solid color-mix(in srgb, var(--ed-accent) 25%, transparent);
}
.ed-help-icon { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 10px; display: grid; place-items: center; background: var(--ed-accent); color: #fff; font-size: 15px; }
.ed-help-title { font-weight: 700; font-size: 15px; }
.ed-help-desc { font-size: 14px; line-height: 1.5; opacity: .9; }
.ed-help-tips { margin: 8px 0 0; padding-left: 18px; font-size: 13px; color: var(--ed-muted); }
.ed-help-tips li { margin: 2px 0; }
.ed-help-warn { margin-top: 8px; padding: 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 500; background: rgba(245,158,11,.14); color: #d97706; }
body.night-mode .ed-help-warn { color: #fbbf24; }
.ed-help-toggle { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border: 0; border-radius: 8px; background: transparent; color: var(--ed-muted); }
.ed-help-toggle:hover { background: var(--ed-tile); }
.ed-help-toggle i { transition: transform .2s; }
.ed-help.is-collapsed { padding-top: 10px; padding-bottom: 10px; align-items: center; }
.ed-help.is-collapsed .ed-help-desc,
.ed-help.is-collapsed .ed-help-more { display: none; }
.ed-help.is-collapsed .ed-help-icon { width: 26px; height: 26px; flex-basis: 26px; font-size: 12px; border-radius: 8px; }
.ed-help.is-collapsed .ed-help-toggle { top: 50%; transform: translateY(-50%); }
.ed-help.is-collapsed .ed-help-toggle i { transform: rotate(180deg); }

/* ---------- zijmenu ---------- */
.admin-sidebar .card { padding: 0 !important; margin-bottom: 12px !important; }
.admin-sidebar .card-header.block-title {
  padding: 14px 18px 4px !important; font-size: 11px !important; font-weight: 600 !important;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ed-muted) !important; border: 0 !important;
}
.admin-sidebar .card-body.with-nav { padding: 4px 10px 10px !important; }
.admin-sidebar .side-nav > li > a {
  display: flex !important; align-items: center; gap: 10px; padding: 8px 10px !important; margin-bottom: 1px;
  border-radius: 10px !important; font-size: 14px !important; font-weight: 500 !important; color: inherit !important;
}
.admin-sidebar .side-nav > li > a > i.fa-lg {
  width: 28px !important; height: 28px; margin: 0 !important; flex: 0 0 28px; border-radius: 8px;
  display: inline-grid; place-items: center; font-size: 13px !important; background: var(--ed-tile-border);
}
.admin-sidebar .side-nav > li > a:hover { background: var(--ed-accent-soft) !important; }
.admin-sidebar .side-nav > li.active > a { background: var(--ed-accent-soft) !important; color: var(--ed-accent) !important; font-weight: 600 !important; }
body.night-mode .admin-sidebar .side-nav > li.active > a { color: #93c5fd !important; }
.admin-sidebar .side-nav > li.active > a > i.fa-lg { background: var(--ed-accent); color: #fff !important; }
.admin-sidebar .side-nav a[data-bs-toggle="collapse"]::after {
  float: none !important; margin-left: auto; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important; font-weight: 900 !important;
  content: "\f078" !important; font-size: 10px; color: var(--ed-muted) !important; transition: transform .2s;
}
.admin-sidebar .side-nav a[data-bs-toggle="collapse"][aria-expanded="true"]::after { transform: rotate(180deg); }
.admin-sidebar .side-nav ul { margin: 2px 0 6px 23px !important; padding-left: 12px !important; border-left: 1px solid var(--ed-tile-border); }
.admin-sidebar .side-nav ul a { display: block; padding: 6px 10px !important; margin: 0 !important; border: 0 !important; border-radius: 8px; font-size: 13px !important; color: var(--ed-muted) !important; }
.admin-sidebar .side-nav ul a:hover { background: var(--ed-accent-soft); color: inherit !important; }
.admin-sidebar .side-nav ul li.active > a { color: var(--ed-accent) !important; font-weight: 600; background: var(--ed-accent-soft); }
.admin-sidebar .side-nav .badge, .admin-sidebar .side-nav .label { margin-left: auto; border-radius: 999px; font-size: 11px; }

/* ---------- hoofdkaart ---------- */
.ed-admin-main > .card { padding: 0 !important; overflow: hidden; }
.ed-admin-main > .card > .card-header {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  padding: 18px 22px !important; font-size: 17px !important; font-weight: 700 !important; letter-spacing: -.01em;
  border-bottom: 1px solid var(--ed-tile-border) !important; background: transparent !important;
}
.ed-admin-main > .card > .card-header > .float-end { order: 2; margin-left: auto; float: none !important; display: flex; gap: 6px; flex-wrap: wrap; }
.ed-admin-main > .card > .card-header > i:first-child,
.ed-admin-main > .card > .card-header > .fa:first-child { width: 34px; height: 34px; margin: 0 !important; border-radius: 10px; display: inline-grid; place-items: center; background: var(--ed-accent-soft); color: var(--ed-accent); font-size: 15px; }
.ed-admin-main > .card > .card-body { padding: 22px !important; }
.ed-admin-main > .card > .card-footer { padding: 14px 22px !important; background: transparent !important; border-top: 1px solid var(--ed-tile-border) !important; }

/* ---------- oude statistiekblokken → strakke tegels ---------- */
.ed-admin-main .stat-panel {
  position: relative; overflow: hidden; margin-bottom: 16px; border-radius: var(--ed-radius) !important;
  background: var(--ed-tile) !important; border: 1px solid var(--ed-tile-border); color: inherit !important; box-shadow: none !important;
}
.ed-admin-main .stat-panel .stat-cell { padding: 18px 20px !important; color: inherit !important; }
.ed-admin-main .stat-panel .bg-icon {
  position: static !important; float: right; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  font-size: 16px !important; opacity: 1 !important; transform: none !important;
  background: var(--ed-accent-soft); color: var(--ed-accent) !important;
}
.ed-admin-main .stat-panel.bg-gradient-red .bg-icon { background: rgba(239,68,68,.14); color: #ef4444 !important; }
.ed-admin-main .stat-panel.bg-gradient-warning .bg-icon { background: rgba(245,158,11,.16); color: #f59e0b !important; }
.ed-admin-main .stat-panel.bg-gradient-success .bg-icon { background: rgba(34,197,94,.14); color: #22c55e !important; }
.ed-admin-main .stat-panel.bg-gradient-teal .bg-icon,
.ed-admin-main .stat-panel.bg-gradient-cyan .bg-icon,
.ed-admin-main .stat-panel.bg-gradient-info .bg-icon { background: rgba(6,182,212,.14); color: #06b6d4 !important; }
.ed-admin-main .stat-panel .text-xxlg { font-size: 28px !important; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ed-admin-main .stat-panel .text-lg { font-size: 14px !important; color: var(--ed-muted); }
.ed-admin-main .stat-panel a { color: var(--ed-accent) !important; font-size: 12px; font-weight: 600; }

/* ---------- tabellen ---------- */
.ed-admin-main .table-responsive { border: 1px solid var(--ed-tile-border); border-radius: var(--ed-radius); }
.ed-admin-main .table { margin: 0 !important; font-size: 14px; color: inherit !important; --bs-table-bg: transparent; --bs-table-striped-bg: transparent; --bs-table-hover-bg: var(--ed-accent-soft); }
.ed-admin-main .table.table-bordered, .ed-admin-main .table.table-bordered > :not(caption) > * > * { border-width: 0 !important; }
.ed-admin-main .table > thead > tr > th {
  padding: 11px 16px !important; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap;
  color: var(--ed-muted) !important; background: var(--ed-tile-border) !important; border: 0 !important;
}
.ed-admin-main .table > tbody > tr > td { padding: 12px 16px !important; vertical-align: middle; border-top: 1px solid var(--ed-tile-border) !important; background: transparent !important; color: inherit !important; }
.ed-admin-main .table > tbody > tr { transition: background .12s; }
.ed-admin-main .table > tbody > tr:hover > td { background: var(--ed-accent-soft) !important; }
.ed-admin-main .table .tbl-image { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; margin-right: 8px; }
.ed-admin-main .table .btn-icon.btn-rounded { width: 32px; height: 32px; border-radius: 9px !important; padding: 0; display: inline-grid; place-items: center; font-size: 12px; box-shadow: none !important; }
.ed-admin-main .table .btn-icon.btn-primary { background: var(--ed-accent-soft) !important; color: var(--ed-accent) !important; border: 0 !important; }
.ed-admin-main .table .btn-icon.btn-danger { background: rgba(239,68,68,.12) !important; color: #ef4444 !important; border: 0 !important; }
.ed-admin-main .table .btn-icon.btn-success { background: rgba(34,197,94,.12) !important; color: #22c55e !important; border: 0 !important; }
.ed-admin-main .table .btn-icon.btn-warning { background: rgba(245,158,11,.14) !important; color: #f59e0b !important; border: 0 !important; }
.ed-admin-main .table .btn-icon.btn-info { background: rgba(6,182,212,.14) !important; color: #06b6d4 !important; border: 0 !important; }
.ed-admin-main .table .btn-icon:hover { filter: brightness(1.15); transform: translateY(-1px); }

/* badges */
.ed-admin-main .badge { font-weight: 600; letter-spacing: .01em; border-radius: 999px !important; padding: .4em .8em; }
.ed-admin-main .badge.bg-success { background: rgba(34,197,94,.16) !important; color: #22c55e !important; }
.ed-admin-main .badge.bg-danger { background: rgba(239,68,68,.16) !important; color: #ef4444 !important; }
.ed-admin-main .badge.bg-warning { background: rgba(245,158,11,.18) !important; color: #f59e0b !important; }
.ed-admin-main .badge.bg-info { background: rgba(6,182,212,.16) !important; color: #06b6d4 !important; }
.ed-admin-main .badge.bg-primary { background: var(--ed-accent-soft) !important; color: var(--ed-accent) !important; }
.ed-admin-main .badge.bg-secondary, .ed-admin-main .badge.bg-light { background: var(--ed-tile-border) !important; color: inherit !important; }

/* ---------- formulieren: nette instellingen-rijen ---------- */
.ed-admin-main .card-body > form .row.form-group,
.ed-admin-main .tab-pane > form .row.form-group,
.ed-admin-main .card-body > .row.form-group {
  padding: 16px 0; margin: 0 !important; border-bottom: 1px solid var(--ed-tile-border); align-items: center;
}
.ed-admin-main .row.form-group > [class*="col-"] { padding-left: 0; }
.ed-admin-main .row.form-group .form-label,
.ed-admin-main .row.form-group > label { font-weight: 600; font-size: 14px; margin: 0; }
.ed-admin-main .form-text { color: var(--ed-muted) !important; font-size: 12px; margin-top: 6px; line-height: 1.5; }
.ed-admin-main .form-control, .ed-admin-main .form-select {
  border-radius: 10px !important; border: 1px solid var(--ed-tile-border) !important; font-size: 14px; padding: 9px 12px;
}
body.night-mode .ed-admin-main .form-control, body.night-mode .ed-admin-main .form-select { background-color: var(--card-dark-input) !important; color: var(--body-color-dark) !important; }
.ed-admin-main .input-group-text { border-radius: 10px; border: 1px solid var(--ed-tile-border) !important; background: var(--ed-tile-border) !important; color: var(--ed-muted) !important; font-size: 13px; }
.ed-admin-main .switch input:checked + .slider { background: var(--ed-accent) !important; }
.ed-admin-main .switch .slider { background: var(--ed-tile-border) !important; }
.ed-admin-main h4, .ed-admin-main .h4, .ed-admin-main .divider + h4 { font-size: 16px; font-weight: 700; letter-spacing: -.01em; margin: 22px 0 6px; }
.ed-admin-main .divider { border-color: var(--ed-tile-border) !important; margin: 16px 0 !important; }
.ed-admin-main .alert { border-radius: 12px; border: 0; font-size: 14px; }
.ed-admin-main .alert-info { background: var(--ed-accent-soft); color: inherit; }
.ed-admin-main .alert-warning { background: rgba(245,158,11,.14); color: inherit; }
.ed-admin-main .alert-danger { background: rgba(239,68,68,.12); color: inherit; }
.ed-admin-main .alert-success { background: rgba(34,197,94,.12); color: inherit; }

/* opslaan-knop netjes rechts, zwevend onderaan lange formulieren */
.ed-admin-main form .card-footer, .ed-admin-main form > .text-end:last-child {
  position: sticky; bottom: 0; z-index: 5; display: flex; justify-content: flex-end; gap: 8px;
  margin: 0 -22px -22px !important; padding: 14px 22px !important;
  background: color-mix(in srgb, var(--ed-tile) 92%, transparent) !important; backdrop-filter: blur(8px);
  border-top: 1px solid var(--ed-tile-border) !important;
}

/* tabs in admin-pagina's */
.ed-admin-main .nav-tabs { border: 0 !important; gap: 4px; padding: 4px; border-radius: 12px; background: var(--ed-tile-border); flex-wrap: wrap; margin-bottom: 18px !important; }
.ed-admin-main .nav-tabs .nav-link { border: 0 !important; border-radius: 9px !important; padding: 8px 14px !important; color: var(--ed-muted) !important; background: transparent !important; font-size: 14px; }
.ed-admin-main .nav-tabs .nav-link.active { background: var(--ed-tile) !important; color: inherit !important; box-shadow: 0 1px 2px rgba(0,0,0,.15); }

/* list-groups (info-blokken) */
.ed-admin-main .list-group { border-radius: 12px; overflow: hidden; }
.ed-admin-main .list-group-item { background: transparent !important; border-color: var(--ed-tile-border) !important; color: inherit !important; font-size: 14px; }

/* paginering */
.ed-admin-main .pagination { gap: 4px; justify-content: center; margin-top: 16px; flex-wrap: wrap; }
.ed-admin-main .pagination .page-link { border-radius: 9px !important; border: 1px solid var(--ed-tile-border) !important; background: transparent !important; color: inherit !important; font-size: 13px; min-width: 36px; text-align: center; }
.ed-admin-main .pagination .page-item.active .page-link { background: var(--ed-accent) !important; border-color: var(--ed-accent) !important; color: #fff !important; }

/* lege staat */
.ed-admin-main td.text-center[colspan] { padding: 36px 16px !important; color: var(--ed-muted); }

/* =========================================================
   ADMIN — instellingenpagina's verfijnd
   ========================================================= */

/* uitlegbalk: tips met vinkjes, waarschuwing over volle breedte */
.ed-help-tips { list-style: none; padding-left: 0; display: grid; gap: 4px; }
.ed-help-tips li { position: relative; padding-left: 22px; }
.ed-help-tips li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900;
  position: absolute; left: 0; top: 1px; font-size: 11px; color: var(--ed-accent);
}
.ed-help-warn { display: flex; align-items: center; gap: 8px; width: 100%; }
.ed-help-body { flex: 1; min-width: 0; }

/* schakelrijen (icoon · titel/uitleg · schakelaar) */
.ed-admin-main .form-table-row {
  display: grid !important; grid-template-columns: 44px 1fr auto; align-items: center; gap: 16px;
  padding: 16px 0 !important; margin: 0 !important; border-bottom: 1px solid var(--ed-tile-border);
}
.ed-admin-main .form-table-row .avatar {
  width: 44px !important; height: 44px !important; border-radius: 12px; display: grid; place-items: center;
  background: var(--ed-accent-soft); margin: 0 !important;
}
.ed-admin-main .form-table-row .avatar .main-icon,
.ed-admin-main .form-table-row .avatar svg { width: 24px !important; height: 24px !important; }
.ed-admin-main .form-table-row .avatar .main-icon *,
.ed-admin-main .form-table-row .avatar svg * { fill: var(--ed-accent) !important; }
.ed-admin-main .form-table-row .form-label.h6 { font-size: 15px !important; font-weight: 600 !important; margin: 0 0 2px !important; }
.ed-admin-main .form-table-row .form-text { margin: 0; }
.ed-admin-main .form-table-row .text-end { padding: 0 !important; }

/* invoerrijen: label links (vaste breedte), veld + uitleg rechts */
.ed-admin-main .card-body > form .row.form-group,
.ed-admin-main .tab-pane .row.form-group,
.ed-admin-main .card-body .row.form-group {
  display: grid !important; grid-template-columns: minmax(180px, 30%) 1fr; gap: 6px 28px;
  align-items: start; padding: 18px 0 !important; margin: 0 !important; border-bottom: 1px solid var(--ed-tile-border);
}
.ed-admin-main .row.form-group > [class*="col-"] { width: auto !important; max-width: none !important; padding: 0 !important; flex: none !important; }
.ed-admin-main .row.form-group > label.form-label,
.ed-admin-main .row.form-group > .form-label { padding-top: 10px !important; font-weight: 600; font-size: 14px; line-height: 1.35; }
@media (max-width: 767px) {
  .ed-admin-main .row.form-group { grid-template-columns: 1fr !important; }
  .ed-admin-main .row.form-group > .form-label { padding-top: 0 !important; }
}
.ed-admin-main .form-control:focus, .ed-admin-main .form-select:focus {
  border-color: var(--ed-accent) !important; box-shadow: 0 0 0 4px var(--ed-accent-soft) !important;
}
.ed-admin-main textarea.form-control { min-height: 88px; line-height: 1.5; }

/* scheidingslijnen → rustige sectie-overgang */
.ed-admin-main .divider,
.ed-admin-main .divider.dashed {
  height: 0; border: 0 !important; margin: 10px 0 !important;
}
/* geen dubbele lijn: de rij vóór een divider en de laatste rij krijgen geen onderrand */
.ed-admin-main .row.form-group:has(+ .divider),
.ed-admin-main .form-table-row:has(+ .divider),
.ed-admin-main .card-body > .row.form-group:last-child,
.ed-admin-main .card-body > .form-table-row:last-child { border-bottom: 0 !important; }
.ed-admin-main .divider + .row.form-group,
.ed-admin-main .divider + .form-table-row { border-top: 1px solid var(--ed-tile-border); padding-top: 22px !important; }

/* schakelaar iets groter en strakker */
.ed-admin-main .switch { width: 46px !important; height: 26px !important; margin: 0; }
.ed-admin-main .switch .slider { border-radius: 999px !important; }
.ed-admin-main .switch .slider::before { width: 20px !important; height: 20px !important; left: 3px !important; bottom: 3px !important; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.ed-admin-main .switch input:checked + .slider::before { transform: translateX(20px) !important; }

/* checkbox/radio-groepen */
.ed-admin-main .form-check-inline { margin-right: 6px; }
.ed-admin-main .form-check-inline .form-check-label { padding: 6px 12px 6px 4px; border-radius: 9px; font-size: 13px; }
.ed-admin-main .form-check-input:checked { background-color: var(--ed-accent); border-color: var(--ed-accent); }

/* kop met tabbladen netjes in de header */
.ed-admin-main > .card > .card-header .nav-tabs,
.ed-admin-main > .card > .card-header .nav { margin: 0 0 0 auto !important; }
.ed-admin-main > .card > .card-header .nav-link { font-weight: 600; }

/* opslaan-balk */
.ed-admin-main .card-footer.text-end .btn-primary { padding: 9px 22px; font-weight: 600; }
.ed-admin-main .card-footer .btn-danger.js_admin-tester { background: transparent !important; color: #ef4444 !important; border: 1px solid rgba(239,68,68,.4) !important; }

/* =========================================================
   Landing / inloggen (elengine) — EnDrip
   ========================================================= */
body.ed-landing {
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(59,130,246,.14), transparent 60%),
    radial-gradient(700px 500px at 100% 100%, rgba(139,92,246,.12), transparent 60%),
    #0b0f14 !important;
}
body.ed-landing:not(.night-mode) { background: radial-gradient(900px 500px at 0% 0%, rgba(59,130,246,.10), transparent 60%), #f4f6fa !important; }
.ed-landing .fr_welcome { min-height: 100vh; }
.ed-landing .fr_welcome_mid { flex: 1; display: flex; align-items: center; }
.ed-landing .fr_welcome_mid > .row { width: 100%; align-items: stretch; }

/* formulier-kaart */
.ed-landing .fr_welcome_sign {
  max-width: 440px; padding: 36px 34px !important; border-radius: 22px;
  background: rgba(23,29,36,.75); border: 1px solid rgba(255,255,255,.07);
  box-shadow: 0 30px 80px rgba(0,0,0,.45); backdrop-filter: blur(14px);
}
body.ed-landing:not(.night-mode) .fr_welcome_sign { background: #fff; border-color: rgba(16,24,40,.08); box-shadow: 0 30px 80px rgba(16,24,40,.12); }
.ed-landing .fr_welcome_sign_head { text-align: center; }
.ed-landing .fr_welcome_sign_head h5 { display: none; }
.ed-landing .fr_welcome_sign_head .logo-wrapper img { max-height: 44px; width: auto; }
.ed-landing .fr_welcome_title { font-size: 26px !important; font-weight: 800 !important; letter-spacing: -.03em; }
.ed-auth-sub { margin: 6px 0 0; font-size: 14px; color: #8b98a8; }
.ed-landing .fr_auth_form .text-center.mt-4.mb-4, .ed-landing .fr_auth_form .text-center.my-4 { margin: 22px 0 24px !important; }

/* velden */
.ed-landing .fr_welcome_field { position: relative; margin-bottom: 14px; }
.ed-landing .fr_welcome_field input,
.ed-landing .fr_welcome_field select {
  width: 100%; height: 52px; padding: 0 16px 0 48px !important; border-radius: 14px !important;
  font-size: 15px; color: inherit; outline: 0;
  background: rgba(255,255,255,.04) !important; border: 1px solid rgba(255,255,255,.10) !important;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
body.ed-landing:not(.night-mode) .fr_welcome_field input { background: #f8fafc !important; border-color: rgba(16,24,40,.12) !important; }
.ed-landing .fr_welcome_field input::placeholder { color: #7d8a9a; }
.ed-landing .fr_welcome_field input:focus {
  border-color: #3b82f6 !important; background: rgba(59,130,246,.06) !important; box-shadow: 0 0 0 4px rgba(59,130,246,.18);
}
.ed-landing .fr_welcome_field svg { left: 16px !important; top: 50% !important; transform: translateY(-50%); width: 20px; height: 20px; color: #7d8a9a; fill: currentColor; opacity: .9; }
.ed-landing .fr_welcome_field input:focus ~ svg, .ed-landing .fr_welcome_field input:focus + svg { color: #3b82f6; }

.ed-landing .form-check-label { font-size: 14px; color: #a8b3c1; }
body.ed-landing:not(.night-mode) .form-check-label { color: #475467; }
.ed-landing .form-check-input { width: 18px; height: 18px; border-radius: 6px !important; margin-top: 1px; }
.ed-landing .form-check-input:checked { background-color: #3b82f6; border-color: #3b82f6; }
.ed-landing .fr_auth_form a.float-end, .ed-landing .fr_welcome_switch a { color: #60a5fa !important; font-weight: 600; font-size: 14px; text-decoration: none !important; }
.ed-landing .fr_auth_form a.float-end:hover, .ed-landing .fr_welcome_switch a:hover { color: #93c5fd !important; }

/* knop */
.ed-landing .fr_welcome_btn {
  height: 52px; border: 0 !important; border-radius: 14px !important; font-size: 16px; font-weight: 700; letter-spacing: .01em;
  background: linear-gradient(135deg, #2563eb, #3b82f6 55%, #6366f1) !important;
  box-shadow: 0 10px 28px rgba(59,130,246,.35); transition: transform .12s, box-shadow .15s, filter .15s;
}
.ed-landing .fr_welcome_btn:hover { filter: brightness(1.08); box-shadow: 0 14px 34px rgba(59,130,246,.45); transform: translateY(-1px); }
.ed-landing .fr_welcome_btn:active { transform: translateY(0); }
.ed-landing .fr_welcome_switch {
  margin-top: 22px !important; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08);
  font-size: 14px; color: #8b98a8;
}
body.ed-landing:not(.night-mode) .fr_welcome_switch { border-color: rgba(16,24,40,.08); }
.ed-landing .fr_welcome_switch a { text-decoration: none !important; border: 0 !important; }

/* rechterpaneel */
.ed-landing .fr_welcome_bg {
  position: relative; overflow: hidden; height: 100%; min-height: 620px;
  border-radius: 28px !important; margin-right: 24px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.ed-landing .fr_welcome_bg_img { inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.ed-landing .fr_welcome_bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(11,15,20,.05) 0%, rgba(11,15,20,.35) 45%, rgba(11,15,20,.92) 100%),
    linear-gradient(90deg, rgba(37,99,235,.25), transparent 60%);
}
.ed-landing .fr_welcome_img { position: relative; z-index: 2; height: 100%; padding: 48px !important; }
.ed-landing .fr_welcome_img .svg_lines, .ed-landing .fr_welcome_img .svg_blur { display: none; }
.ed-landing .fr_welcome_img_innr { color: #fff; max-width: 620px; }
.ed-land-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  font-size: 13px; font-weight: 600; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px);
}
.ed-land-eyebrow i { color: #fbbf24; }
.ed-landing .ed-land-title { margin: 18px 0 12px !important; font-size: clamp(34px, 4vw, 54px) !important; line-height: 1.04 !important; font-weight: 800 !important; letter-spacing: -.035em; color: #fff; }
.ed-land-title span { background: linear-gradient(90deg, #60a5fa, #a78bfa, #f472b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ed-land-sub { font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.85); max-width: 520px; margin: 0 0 22px; }
.ed-land-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ed-land-features li {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; max-width: 460px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(10px);
}
.ed-land-features i { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; display: grid; place-items: center; background: rgba(59,130,246,.9); color: #fff; font-size: 15px; }
.ed-land-features li:nth-child(2) i { background: rgba(245,158,11,.9); }
.ed-land-features li:nth-child(3) i { background: rgba(236,72,153,.9); }
.ed-land-features span { font-size: 14px; color: rgba(255,255,255,.8); }
.ed-land-features strong { display: block; color: #fff; font-size: 15px; }

/* footer */
.ed-landing .fr_welcome_bottom { margin-top: 28px !important; padding: 0 24px; font-size: 13px; opacity: .85; }

@media (max-width: 767px) {
  .ed-landing .fr_welcome_sign { margin: 0 12px !important; padding: 28px 22px !important; }
  .ed-landing .fr_welcome_bg { min-height: 0; margin: 24px 12px 0; border-radius: 22px !important; }
  .ed-landing .fr_welcome_img { padding: 28px !important; }
}

/* --- inlogvelden: iconen en vinkje gecorrigeerd --- */
.ed-landing .fr_welcome_field { margin-bottom: 14px !important; }
.ed-landing .fr_welcome_field.mb-2 { margin-bottom: 14px !important; }
.ed-landing .fr_welcome_field input {
  height: 54px !important; padding: 0 16px 0 50px !important; line-height: 54px; margin: 0 !important; border-width: 1px !important;
}
.ed-landing .fr_welcome_field svg {
  position: absolute !important; left: 17px !important; top: 50% !important; right: auto !important;
  width: 20px !important; height: 20px !important; margin: 0 !important; transform: translateY(-50%) !important;
  fill: none; color: #7d8a9a; opacity: 1 !important; pointer-events: none;
}
.ed-landing .fr_welcome_field input:focus + svg { color: #60a5fa; }

/* onthouden + wachtwoord vergeten op één lijn */
.ed-landing .fr_auth_form .d-flex.align-items-center.justify-content-between { margin: 4px 0 0; min-height: 24px; }
.ed-landing .fr_auth_form .form-check { display: flex; align-items: center; gap: 10px; margin: 0; padding: 0; min-height: 0; }
.ed-landing .fr_auth_form .form-check-input {
  -webkit-appearance: none; appearance: none; float: none; position: static;
  width: 20px !important; height: 20px !important; margin: 0 !important; flex: 0 0 20px; cursor: pointer;
  border-radius: 6px !important; border: 1.5px solid rgba(255,255,255,.22) !important;
  background: rgba(255,255,255,.04) no-repeat center / 12px !important; transition: background-color .15s, border-color .15s;
}
body.ed-landing:not(.night-mode) .fr_auth_form .form-check-input { border-color: rgba(16,24,40,.25) !important; background-color: #fff !important; }
.ed-landing .fr_auth_form .form-check-input:checked {
  border-color: #3b82f6 !important; background-color: #3b82f6 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m5 10 3 3 7-7'/%3e%3c/svg%3e") !important;
}
.ed-landing .fr_auth_form .form-check-input:focus { box-shadow: 0 0 0 4px rgba(59,130,246,.2) !important; }
.ed-landing .fr_auth_form .form-check-label { margin: 0; cursor: pointer; line-height: 20px; }
.ed-landing .fr_auth_form a.float-end { float: none !important; line-height: 20px; }

/* =========================================================
   Profielkop v2 (raster: omslag / avatar · naam+labels · knoppen)
   ========================================================= */
.ed-profile-page .profile-header {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "cover cover cover" "avatar name buttons" "avatar meta buttons";
  column-gap: 22px; align-items: end;
  padding: 0 28px 22px !important; margin-bottom: 18px !important;
  background: var(--ed-tile) !important; border: 1px solid var(--ed-tile-border);
  border-radius: 22px !important; overflow: hidden;
}
.ed-profile-page .profile-cover-wrapper {
  grid-area: cover; margin: 0 -28px; height: 260px !important; border-radius: 0 !important;
  background:
    radial-gradient(700px 260px at 85% 0%, color-mix(in srgb, var(--ed-accent) 55%, transparent), transparent 70%),
    radial-gradient(600px 300px at 0% 100%, rgba(236,72,153,.28), transparent 65%),
    linear-gradient(135deg, #0f172a, color-mix(in srgb, var(--ed-accent) 35%, #0f172a)) !important;
}
@media (min-width: 992px) { .ed-profile-page .profile-cover-wrapper { height: 300px !important; } }
.ed-profile-page .profile-cover-wrapper::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 45%; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.25));
}
.ed-profile-page .profile-cover-buttons { z-index: 2; }

.ed-profile-page .profile-avatar-wrapper {
  grid-area: avatar; position: relative !important; top: auto !important; left: auto !important; right: auto !important;
  transform: none !important; margin-top: -72px; padding: 5px !important; z-index: 3;
  background: var(--ed-tile) !important; box-shadow: 0 0 0 2px var(--ed-accent), 0 12px 30px rgba(0,0,0,.35) !important;
}
.ed-profile-page .profile-avatar-wrapper img { width: 148px !important; height: 148px !important; object-fit: cover; box-shadow: none !important; }

.ed-profile-page .profile-name-wrapper {
  grid-area: name; position: static !important; transform: none !important; background: transparent !important;
  padding: 16px 0 0 !important; margin: 0 !important; text-align: left !important;
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: 30px !important; font-weight: 800 !important; letter-spacing: -.025em; line-height: 1.15;
}
.ed-profile-page .profile-name-wrapper > a { color: inherit !important; }
.ed-profile-page .profile-name-wrapper .verified-badge svg { width: 26px !important; height: 26px !important; }
.ed-profile-page .profile-name-wrapper .badge { font-size: 11px; letter-spacing: .06em; }

.ed-profile-page .ed-name-meta { grid-area: meta; margin: 8px 0 4px !important; justify-content: flex-start; }
.ed-profile-page .ed-status-chip, .ed-profile-page .ed-respect-chip { height: 32px; padding: 0 14px; font-size: 13px; }

.ed-profile-page .profile-buttons-wrapper {
  grid-area: buttons; position: static !important; transform: none !important; background: transparent !important;
  padding: 0 0 6px !important; margin: 0 !important; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end;
}
.ed-profile-page .profile-buttons-wrapper .btn { height: 42px; border-radius: 12px !important; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.ed-profile-page .profile-buttons-wrapper .btn-icon { width: 42px; padding: 0; justify-content: center; }
.ed-profile-page .ed-customize-btn { padding: 0 18px !important; box-shadow: 0 8px 22px color-mix(in srgb, var(--ed-accent) 35%, transparent); }

/* tabs direct onder de kop, als strakke balk */
.ed-profile-page .profile-tabs-wrapper {
  margin: -6px 0 20px !important; padding: 6px !important; gap: 4px;
  background: var(--ed-tile) !important; border: 1px solid var(--ed-tile-border); border-radius: 16px !important;
}
.ed-profile-page .profile-tabs-wrapper a { flex: 1; justify-content: center; display: inline-flex; align-items: center; padding: 10px 8px !important; border-radius: 11px !important; box-shadow: none !important; font-weight: 600; }
.ed-profile-page .profile-tabs-wrapper a.active { background: var(--ed-accent-soft) !important; }
.ed-profile-page .profile-tabs-wrapper a:hover { background: var(--ed-accent-soft); }

/* mobiel: alles gecentreerd onder elkaar */
@media (max-width: 767px) {
  .ed-profile-page .profile-header {
    grid-template-columns: 1fr; grid-template-areas: "cover" "avatar" "name" "meta" "buttons";
    justify-items: center; padding: 0 16px 18px !important; text-align: center;
  }
  .ed-profile-page .profile-cover-wrapper { margin: 0 -16px; height: 190px !important; }
  .ed-profile-page .profile-avatar-wrapper { margin-top: -60px; }
  .ed-profile-page .profile-avatar-wrapper img { width: 116px !important; height: 116px !important; }
  .ed-profile-page .profile-name-wrapper { justify-content: center; font-size: 24px !important; padding-top: 10px !important; }
  .ed-profile-page .ed-name-meta { justify-content: center; }
  .ed-profile-page .profile-buttons-wrapper { justify-content: center; padding-top: 10px !important; }
}

/* --- avatarknoppen: rij van 3 ronde knoppen onder de avatar --- */
.ed-profile-page .profile-avatar-change,
.ed-profile-page .profile-avatar-crop,
.ed-profile-page .profile-avatar-delete {
  position: absolute !important; top: auto !important; right: auto !important;
  bottom: -6px !important; left: 50% !important;
  width: 38px; height: 38px; padding: 0 !important; border-radius: 50% !important;
  display: grid !important; place-items: center; font-size: 14px !important; color: #fff !important;
  background: rgba(17,24,39,.82) !important; border: 2px solid var(--ed-tile);
  box-shadow: 0 6px 16px rgba(0,0,0,.35); backdrop-filter: blur(6px);
  opacity: 0; transform: translate(-50%, 6px) scale(.9);
  transition: opacity .18s, transform .18s, background .15s; z-index: 4;
}
.ed-profile-page .profile-avatar-change { opacity: 1; transform: translate(-50%, 0); background: var(--ed-accent) !important; }
.ed-profile-page .profile-avatar-crop   { margin-left: -46px; }
.ed-profile-page .profile-avatar-delete { margin-left: 46px; }
.ed-profile-page .profile-avatar-wrapper:hover .profile-avatar-crop,
.ed-profile-page .profile-avatar-wrapper:hover .profile-avatar-delete,
.ed-profile-page .profile-avatar-wrapper:focus-within .profile-avatar-crop,
.ed-profile-page .profile-avatar-wrapper:focus-within .profile-avatar-delete { opacity: 1; transform: translate(-50%, 0) scale(1); }
@media (hover: none) {
  .ed-profile-page .profile-avatar-crop, .ed-profile-page .profile-avatar-delete { opacity: 1; transform: translate(-50%, 0); }
}
/* het icoon vult de hele knop, zodat de cirkel klikbaar is */
.ed-profile-page .profile-avatar-change > i,
.ed-profile-page .profile-avatar-crop > i,
.ed-profile-page .profile-avatar-delete > i {
  width: 100%; height: 100%; display: grid; place-items: center; cursor: pointer; border-radius: 50%;
}
.ed-profile-page .profile-avatar-change:hover { filter: brightness(1.12); }
.ed-profile-page .profile-avatar-crop:hover { background: rgba(17,24,39,.95) !important; }
.ed-profile-page .profile-avatar-delete:hover { background: #ef4444 !important; }
.ed-profile-page .profile-avatar-change .dropdown-menu { margin-top: 8px !important; }
.ed-profile-page .profile-avatar-change-loader { border-radius: 50%; }

/* omslagknoppen in dezelfde stijl */
.ed-profile-page .profile-cover-buttons { display: flex; gap: 8px; top: 16px !important; left: 16px !important; opacity: 1 !important; }
.ed-profile-page .profile-cover-buttons > div,
.ed-profile-page .profile-cover-change, .ed-profile-page .profile-cover-position, .ed-profile-page .profile-cover-delete {
  width: 38px; height: 38px; border-radius: 50% !important; display: grid !important; place-items: center; padding: 0 !important;
  background: rgba(17,24,39,.6) !important; color: #fff !important; backdrop-filter: blur(6px); font-size: 14px; transition: background .15s;
}
.ed-profile-page .profile-cover-buttons > div > i { width: 100%; height: 100%; display: grid; place-items: center; cursor: pointer; }
.ed-profile-page .profile-cover-buttons > div:hover { background: rgba(17,24,39,.9) !important; }

/* verborgen avatar-/omslagknoppen (geen foto) blijven verborgen */
.ed-profile-page .profile-avatar-wrapper .x-hidden, .ed-profile-page .profile-cover-buttons .x-hidden { display: none !important; }

/* --- avatarknoppen volledig zichtbaar (niet meer afgesneden) --- */
.ed-profile-page .profile-header { overflow: visible !important; }
.ed-profile-page .profile-cover-wrapper { border-radius: 22px 22px 0 0 !important; overflow: hidden !important; }
.ed-profile-page .profile-avatar-wrapper { margin-bottom: 14px; }
.ed-profile-page .profile-avatar-change,
.ed-profile-page .profile-avatar-crop,
.ed-profile-page .profile-avatar-delete { bottom: -12px !important; width: 40px; height: 40px; font-size: 15px !important; border-width: 3px; }
.ed-profile-page .profile-avatar-crop   { margin-left: -48px; }
.ed-profile-page .profile-avatar-delete { margin-left: 48px; }
@media (max-width: 767px) { .ed-profile-page .profile-avatar-wrapper { margin-bottom: 18px; } }

/* =========================================================
   Uitklapmenu's: massief, strak en leesbaar (alle menu's)
   ========================================================= */
.dropdown-menu {
  --dm-bg: #ffffff; --dm-border: rgba(16,24,40,.08); --dm-hover: rgba(16,24,40,.05); --dm-muted: #667085;
  background: var(--dm-bg) !important; border: 1px solid var(--dm-border) !important; border-radius: 14px !important;
  padding: 6px !important; box-shadow: 0 18px 44px rgba(0,0,0,.22), 0 2px 6px rgba(0,0,0,.08) !important;
  animation: edUmIn .14s ease-out;
}
body.night-mode .dropdown-menu { --dm-bg: #161c23; --dm-border: #252e39; --dm-hover: rgba(255,255,255,.06); --dm-muted: #8b98a8; color: var(--body-color-dark) !important; }
.dropdown-menu .dropdown-item {
  display: flex !important; align-items: center; gap: 10px; padding: 9px 12px !important; border-radius: 10px;
  font-size: 14px !important; font-weight: 500; color: inherit !important; background: transparent !important; transition: background .12s;
}
.dropdown-menu .dropdown-item:hover, .dropdown-menu .dropdown-item:focus { background: var(--dm-hover) !important; }
.dropdown-menu .dropdown-divider { margin: 5px 4px !important; border-color: var(--dm-border) !important; opacity: 1; }

/* actiemenu's (berichten, profielfoto, omslag…) */
.action-dropdown-menu { min-width: 250px !important; }
.action-dropdown-menu .dropdown-item { white-space: normal; }
.action-dropdown-menu .action { display: flex; align-items: center; gap: 12px; font-size: 14px !important; font-weight: 600 !important; line-height: 1.3; }
.action-dropdown-menu .action.no-desc { font-weight: 500 !important; }
.action-dropdown-menu .action .main-icon,
.action-dropdown-menu .action svg { width: 18px !important; height: 18px !important; margin: 0 !important; flex: 0 0 18px; }
.action-dropdown-menu .action .main-icon *, .action-dropdown-menu .action svg * { fill: var(--dm-muted) !important; }
.action-dropdown-menu .dropdown-item:hover .action .main-icon * { fill: var(--ed-accent) !important; }
.action-dropdown-menu .action-desc { font-size: 12px; color: var(--dm-muted); margin: 2px 0 0 30px; font-weight: 400; }
.action-dropdown-menu .dropdown-item:has(.action-desc) { flex-direction: column; align-items: flex-start; gap: 0; }
.action-dropdown-menu .fa { margin-right: 0 !important; width: 18px; text-align: center; color: var(--dm-muted) !important; }

/* gevaarlijke acties (verwijderen) in rood */
.action-dropdown-menu .js_delete-post,
.action-dropdown-menu .js_delete-article,
.action-dropdown-menu .js_delete-comment,
.action-dropdown-menu [class*="js_delete"] { color: #ef4444 !important; }
.action-dropdown-menu [class*="js_delete"] .main-icon *, .action-dropdown-menu [class*="js_delete"] svg * { fill: #ef4444 !important; }
.action-dropdown-menu [class*="js_delete"]:hover { background: rgba(239,68,68,.1) !important; }

/* de header blijft wél doorschijnend */
body.night-mode .main-header { background: rgba(17,22,28,.85) !important; }

/* --- open uitklapmenu altijd bovenop: til de kaart/het bericht met het open menu boven de volgende kaarten uit --- */
.card:has(.dropdown-menu.show),
.post:has(.dropdown-menu.show),
.ed-krabbel:has(.dropdown-menu.show),
.profile-header:has(.dropdown-menu.show) { position: relative; z-index: 60 !important; }
.dropdown-menu.show { z-index: 1065 !important; }

/* --- FIX: menu's waren half doorzichtig door de inschuif-animatie (begint op opacity 0) --- */
.dropdown-menu, .dropdown-menu.show, .ed-user-menu { animation: none !important; opacity: 1 !important; }
body.night-mode .dropdown-menu { background: #161c23 !important; }
/* --- kop van het bericht (waar het menu in zit) boven de foto/inhoud van hetzelfde bericht --- */
.post-header:has(.dropdown-menu.show),
.post-meta:has(.dropdown-menu.show),
.dropdown:has(> .dropdown-menu.show) { position: relative; z-index: 70 !important; }

/* =========================================================
   Community: verjaardagen, ranglijst, badges, streaks
   ========================================================= */
.ed-bday { padding: 14px 18px !important; background: linear-gradient(135deg, rgba(245,158,11,.12), rgba(236,72,153,.10)) !important; border-color: rgba(245,158,11,.3) !important; }
.ed-bday-today { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ed-bday-today + .ed-bday-today { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(245,158,11,.25); }
.ed-bday-pic { position: relative; }
.ed-bday-pic img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid #f59e0b; }
.ed-bday-pic span { position: absolute; right: -6px; bottom: -4px; font-size: 18px; }
.ed-bday-text { flex: 1; min-width: 160px; }
.ed-bday-title { font-size: 15px; }
.ed-bday-upcoming { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ed-bday-today + .ed-bday-upcoming { margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(245,158,11,.25); }
.ed-bday-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; font-size: 13px; font-weight: 600; color: inherit !important; text-decoration: none !important; background: rgba(255,255,255,.06); border: 1px solid rgba(245,158,11,.25); }
.ed-bday-chip img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.ed-bday-chip small { font-weight: 400; opacity: .7; }

.ed-hero-gold { background: radial-gradient(600px 220px at 100% 0%, rgba(251,191,36,.35), transparent 60%), linear-gradient(135deg, #78350f 0%, #b45309 50%, #f59e0b 100%) !important; }
.ed-seg-light { background: rgba(255,255,255,.15) !important; }
.ed-seg-light a { display: block; padding: 7px 14px; border-radius: 9px; font-size: 13px; font-weight: 600; color: #fff !important; text-decoration: none !important; }
.ed-seg-light a.active { background: #fff; color: #92400e !important; }
.ed-board-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.ed-board { padding: 16px 18px !important; }
.ed-board .ed-w-title .ed-kpi-icon { margin: 0; width: 30px; height: 30px; font-size: 13px; }
.ed-board-empty { padding: 18px 0; text-align: center; }
.ed-board-list { list-style: none; margin: 0; padding: 0; }
.ed-board-list li { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: 10px; }
.ed-board-list li + li { border-top: 1px solid var(--ed-tile-border); }
.ed-board-list li.is-me { background: var(--ed-accent-soft); }
.ed-rank { width: 28px; text-align: center; font-weight: 700; color: var(--ed-muted); font-variant-numeric: tabular-nums; font-size: 14px; }
.ed-board-list li.top1 .ed-rank, .ed-board-list li.top2 .ed-rank, .ed-board-list li.top3 .ed-rank { font-size: 20px; }
.ed-board-user { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: inherit !important; text-decoration: none !important; font-weight: 600; font-size: 14px; }
.ed-board-user img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.ed-board-list li.top1 .ed-board-user img { box-shadow: 0 0 0 2px #fbbf24; }
.ed-board-user span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ed-board-user em { font-style: normal; font-weight: 400; color: var(--ed-muted); }
.ed-board-score { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ed-board-score small { font-weight: 400; color: var(--ed-muted); }

.ed-badges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ed-badge { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 12px; background: var(--ed-accent-soft); text-align: center; cursor: default; }
.ed-badge-icon { font-size: 24px; line-height: 1; }
.ed-badge-title { font-size: 11px; font-weight: 600; line-height: 1.2; }
.ed-streak-chip { border-color: rgba(239,68,68,.35) !important; background: rgba(239,68,68,.1) !important; }

/* =========================================================
   EnDrip Plus
   ========================================================= */
.ed-plus-name {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px;
  font-size: 12px !important; font-weight: 700; letter-spacing: .02em; text-decoration: none !important;
  color: #1f1300 !important; background: linear-gradient(135deg, #fde047, #eab308 55%, #f59e0b);
  box-shadow: 0 4px 14px rgba(234,179,8,.35);
}
.ed-plus-row { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--ed-tile-border, rgba(0,0,0,.1)); display: flex; flex-direction: column; gap: 10px; }
.ed-plus-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #eab308; }
.ed-swatch.is-locked span, .ed-bg.is-locked .ed-bg-preview { position: relative; filter: saturate(.55) brightness(.85); cursor: not-allowed; display: grid; place-items: center; }
.ed-swatch.is-locked span i, .ed-bg.is-locked .ed-bg-preview i { color: #fff; font-size: 12px; text-shadow: 0 1px 3px rgba(0,0,0,.6); }
.ed-bg .ed-bg-preview { display: grid; place-items: center; }
.ed-plus-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; padding: 10px 14px; border-radius: 12px;
  font-size: 13px; font-weight: 600; text-decoration: none !important; color: #eab308 !important;
  background: rgba(234,179,8,.1); border: 1px dashed rgba(234,179,8,.45); transition: background .15s;
}
.ed-plus-cta:hover { background: rgba(234,179,8,.18); }
.ed-plus-status .ed-check-value a, a.ed-check-value { color: var(--ed-accent) !important; }
.ed-grant-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ed-grant-row .ed-search { max-width: none; }
.ed-grant-row .form-select { width: auto; min-width: 220px; }
.ed-table td form .alert { display: none !important; }
