/* WK Pool Pro v2.0.6 — unified app takeover
   Doel: elke pagina met een WK Pool shortcode exact dezelfde donkere app-omgeving geven. */

:root{
  --wkp-v206-black:#05070d;
  --wkp-v206-panel:#0b101a;
  --wkp-v206-panel2:#101827;
  --wkp-v206-line:rgba(255,255,255,.10);
  --wkp-v206-text:#f8fafc;
  --wkp-v206-muted:#a8b3c7;
  --wkp-v206-orange:#ff7a1a;
  --wkp-v206-orange2:#ff9f2f;
  --wkp-v206-radius:24px;
  --wkp-v206-shadow:0 22px 70px rgba(0,0,0,.55);
}

html:has(.wkp-appshell),
body:has(.wkp-appshell),
html.wkp-app-mode,
body.wkp-app-mode{
  margin:0 !important;
  padding:0 !important;
  min-height:100% !important;
  background:var(--wkp-v206-black) !important;
  color:var(--wkp-v206-text) !important;
  overflow-x:hidden !important;
}

/* Hello Elementor / theme wrappers: geen witte page shell meer. */
body.wkp-app-mode,
body.wkp-app-mode #page,
body.wkp-app-mode .site,
body.wkp-app-mode .site-content,
body.wkp-app-mode .site-main,
body.wkp-app-mode main,
body.wkp-app-mode article,
body.wkp-app-mode .entry-content,
body.wkp-app-mode .page-content,
body.wkp-app-mode .hentry,
body.wkp-app-mode .wp-site-blocks,
body.wkp-app-mode .elementor,
body.wkp-app-mode .elementor-section,
body.wkp-app-mode .elementor-container,
body.wkp-app-mode .elementor-widget-wrap,
body.wkp-app-mode .elementor-widget-container{
  background:transparent !important;
  color:var(--wkp-v206-text) !important;
  border:0 !important;
  box-shadow:none !important;
}

body.wkp-app-mode .entry-content,
body.wkp-app-mode .page-content,
body.wkp-app-mode .elementor-widget-container{
  margin:0 !important;
  padding:0 !important;
  max-width:none !important;
  width:100% !important;
}

/* Theme-delen die op deze app-pagina's niet moeten meedoen. */
body.wkp-app-mode header.site-header,
body.wkp-app-mode footer.site-footer,
body.wkp-app-mode .site-header,
body.wkp-app-mode .site-footer,
body.wkp-app-mode .wp-block-template-part,
body.wkp-app-mode .widget-area,
body.wkp-app-mode aside,
body.wkp-app-mode .sidebar,
body.wkp-app-mode .page-header,
body.wkp-app-mode .entry-header,
body.wkp-app-mode .entry-title,
body.wkp-app-mode h1.entry-title,
body.wkp-app-mode .post-navigation,
body.wkp-app-mode .comments-area{
  display:none !important;
}

/* App shell zelf: altijd full bleed, altijd zwart/navy. */
.wkp-appshell.wkp-v206-unified-shell,
.wkp-appshell.wkp-v206-unified-shell *{
  box-sizing:border-box !important;
}

.wkp-appshell.wkp-v206-unified-shell{
  position:relative !important;
  isolation:isolate !important;
  display:block !important;
  width:100vw !important;
  max-width:100vw !important;
  min-height:100vh !important;
  margin:0 calc(50% - 50vw) !important;
  padding:0 18px 108px !important;
  background:
    radial-gradient(circle at 12% 0%, rgba(255,122,26,.20), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(255,159,47,.13), transparent 24%),
    linear-gradient(180deg,#070a12 0%,#05070d 42%,#05070d 100%) !important;
  color:var(--wkp-v206-text) !important;
  font-family:Inter, Roboto, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  line-height:1.35 !important;
}

.wkp-appshell.wkp-v206-unified-shell a{ color:inherit !important; text-decoration:none !important; }
.wkp-appshell.wkp-v206-unified-shell p,
.wkp-appshell.wkp-v206-unified-shell h1,
.wkp-appshell.wkp-v206-unified-shell h2,
.wkp-appshell.wkp-v206-unified-shell h3,
.wkp-appshell.wkp-v206-unified-shell h4,
.wkp-appshell.wkp-v206-unified-shell span,
.wkp-appshell.wkp-v206-unified-shell strong,
.wkp-appshell.wkp-v206-unified-shell small,
.wkp-appshell.wkp-v206-unified-shell em,
.wkp-appshell.wkp-v206-unified-shell b,
.wkp-appshell.wkp-v206-unified-shell td,
.wkp-appshell.wkp-v206-unified-shell th,
.wkp-appshell.wkp-v206-unified-shell label{
  color:inherit !important;
}

.wkp-appshell.wkp-v206-unified-shell .wkp-dash-topbar,
.wkp-appshell.wkp-v206-unified-shell .wkp-plein60-masthead,
.wkp-appshell.wkp-v206-unified-shell .wkp-app-page-content,
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-hero-grid,
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-widget-grid,
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-wide{
  width:min(1180px,100%) !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.wkp-appshell.wkp-v206-unified-shell .wkp-dash-topbar{
  position:sticky !important;
  top:12px !important;
  z-index:50 !important;
  margin-top:14px !important;
  margin-bottom:18px !important;
  padding:10px 12px !important;
  background:rgba(8,12,20,.82) !important;
  backdrop-filter:blur(18px) saturate(1.2) !important;
  -webkit-backdrop-filter:blur(18px) saturate(1.2) !important;
  border:1px solid var(--wkp-v206-line) !important;
  border-radius:999px !important;
  box-shadow:0 14px 40px rgba(0,0,0,.35) !important;
}

.wkp-appshell.wkp-v206-unified-shell .wkp-dash-brand,
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-brand *{
  color:#fff !important;
  font-weight:900 !important;
}

.wkp-appshell.wkp-v206-unified-shell .wkp-dash-nav a{
  color:#dfe7f4 !important;
  border-radius:999px !important;
  padding:10px 14px !important;
  font-weight:850 !important;
  letter-spacing:.01em !important;
}
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-nav a.active,
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-nav a:hover{
  background:linear-gradient(135deg,var(--wkp-v206-orange),var(--wkp-v206-orange2)) !important;
  color:#fff !important;
  box-shadow:0 12px 28px rgba(255,122,26,.28) !important;
}

/* Masthead: dezelfde sfeer op elke pagina; subpagina's iets compacter, maar niet anders van systeem. */
.wkp-appshell.wkp-v206-unified-shell .wkp-plein60-masthead{
  min-height:300px !important;
  margin-bottom:22px !important;
  border-radius:32px !important;
  overflow:hidden !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:var(--wkp-v206-shadow) !important;
  background:#090d16 !important;
}
.wkp-appshell.wkp-v206-unified-shell .wkp-plein60-submasthead{ min-height:245px !important; }
.wkp-appshell.wkp-v206-unified-shell .wkp-plein60-masthead-content h1{
  color:#fff !important;
  font-weight:950 !important;
  letter-spacing:-.055em !important;
  line-height:.92 !important;
  text-shadow:0 4px 32px rgba(0,0,0,.5) !important;
}
.wkp-appshell.wkp-v206-unified-shell .wkp-plein60-masthead-content p{
  color:#e8edf7 !important;
  max-width:680px !important;
}
.wkp-appshell.wkp-v206-unified-shell .wkp-plein60-kicker,
.wkp-appshell.wkp-v206-unified-shell .wkp-plein60-masthead-content span{
  color:#fff !important;
}
.wkp-appshell.wkp-v206-unified-shell .wkp-plein60-scorecard{
  background:rgba(5,7,13,.80) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  color:#fff !important;
  box-shadow:0 16px 50px rgba(0,0,0,.45) !important;
}
.wkp-appshell.wkp-v206-unified-shell .wkp-plein60-scorecard *{ color:#fff !important; }

/* Content cards: geen witvlak, één cardtaal. */
.wkp-appshell.wkp-v206-unified-shell .wkp-app-page-content{
  display:block !important;
}
.wkp-appshell.wkp-v206-unified-shell .wkp,
.wkp-appshell.wkp-v206-unified-shell .wkp-shortcode-page{
  background:transparent !important;
  color:#fff !important;
  margin:0 !important;
  padding:0 !important;
  max-width:none !important;
}

.wkp-appshell.wkp-v206-unified-shell .wkp-page-metrics,
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-widget-grid,
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-hero-grid,
.wkp-appshell.wkp-v206-unified-shell .wkp-analysis-grid,
.wkp-appshell.wkp-v206-unified-shell .wkp-analysis-columns,
.wkp-appshell.wkp-v206-unified-shell .wkp-rule-grid{
  gap:16px !important;
}

.wkp-appshell.wkp-v206-unified-shell .wkp-page-metrics article,
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-card,
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-widget,
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-wide,
.wkp-appshell.wkp-v206-unified-shell .wkp-app-card,
.wkp-appshell.wkp-v206-unified-shell .wkp-app-stat-card,
.wkp-appshell.wkp-v206-unified-shell .wkp-podium-card,
.wkp-appshell.wkp-v206-unified-shell .wkp-tavern-podium-card,
.wkp-appshell.wkp-v206-unified-shell .wkp-rule-grid article,
.wkp-appshell.wkp-v206-unified-shell .wkp-next,
.wkp-appshell.wkp-v206-unified-shell .wkp-notice,
.wkp-appshell.wkp-v206-unified-shell form,
.wkp-appshell.wkp-v206-unified-shell fieldset{
  background:linear-gradient(180deg,rgba(18,25,40,.96),rgba(10,15,26,.96)) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.10) !important;
  border-radius:var(--wkp-v206-radius) !important;
  box-shadow:0 18px 56px rgba(0,0,0,.36) !important;
}

.wkp-appshell.wkp-v206-unified-shell .wkp-dash-orange,
.wkp-appshell.wkp-v206-unified-shell .wkp-app-card-hero{
  background:
    radial-gradient(circle at 100% 0%,rgba(255,255,255,.16),transparent 30%),
    linear-gradient(135deg,#f97316 0%,#e65100 54%,#7c2200 100%) !important;
  color:#fff !important;
  text-shadow:0 2px 18px rgba(0,0,0,.28) !important;
}
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-orange *,
.wkp-appshell.wkp-v206-unified-shell .wkp-app-card-hero *{ color:#fff !important; }

.wkp-appshell.wkp-v206-unified-shell .wkp-page-metrics{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  margin-bottom:16px !important;
}
.wkp-appshell.wkp-v206-unified-shell .wkp-page-metrics article{
  padding:18px !important;
}
.wkp-appshell.wkp-v206-unified-shell .wkp-page-metrics small,
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-widget header span,
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-card-head span{
  color:#a8b3c7 !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
  font-weight:900 !important;
  font-size:11px !important;
}
.wkp-appshell.wkp-v206-unified-shell .wkp-page-metrics strong{
  display:block !important;
  color:#fff !important;
  font-size:clamp(24px,3vw,42px) !important;
  line-height:1 !important;
  letter-spacing:-.04em !important;
}
.wkp-appshell.wkp-v206-unified-shell .wkp-page-metrics span{ color:#a8b3c7 !important; }

/* Tabellen op desktop donker; geen zwarte letters op zwarte of witte achtergronden. */
.wkp-appshell.wkp-v206-unified-shell table,
.wkp-appshell.wkp-v206-unified-shell .wkp-table{
  width:100% !important;
  border-collapse:separate !important;
  border-spacing:0 9px !important;
  background:transparent !important;
  color:#fff !important;
  margin:14px 0 24px !important;
}
.wkp-appshell.wkp-v206-unified-shell thead,
.wkp-appshell.wkp-v206-unified-shell th{
  background:transparent !important;
  color:#a8b3c7 !important;
  border:0 !important;
  font-size:11px !important;
  text-transform:uppercase !important;
  letter-spacing:.08em !important;
}
.wkp-appshell.wkp-v206-unified-shell tbody tr{
  background:rgba(18,25,40,.92) !important;
  box-shadow:0 10px 28px rgba(0,0,0,.22) !important;
}
.wkp-appshell.wkp-v206-unified-shell td{
  background:transparent !important;
  color:#eef4ff !important;
  border-top:1px solid rgba(255,255,255,.08) !important;
  border-bottom:1px solid rgba(255,255,255,.08) !important;
  padding:14px 12px !important;
}
.wkp-appshell.wkp-v206-unified-shell td:first-child{ border-left:1px solid rgba(255,255,255,.08) !important; border-radius:16px 0 0 16px !important; }
.wkp-appshell.wkp-v206-unified-shell td:last-child{ border-right:1px solid rgba(255,255,255,.08) !important; border-radius:0 16px 16px 0 !important; }

/* Formulieren/invulpagina. */
.wkp-appshell.wkp-v206-unified-shell input,
.wkp-appshell.wkp-v206-unified-shell select,
.wkp-appshell.wkp-v206-unified-shell textarea{
  background:#0a0f1a !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.16) !important;
  border-radius:14px !important;
  min-height:42px !important;
  box-shadow:none !important;
}
.wkp-appshell.wkp-v206-unified-shell input::placeholder,
.wkp-appshell.wkp-v206-unified-shell textarea::placeholder{ color:#8d99ad !important; }
.wkp-appshell.wkp-v206-unified-shell button,
.wkp-appshell.wkp-v206-unified-shell .button,
.wkp-appshell.wkp-v206-unified-shell input[type=submit],
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-button,
.wkp-appshell.wkp-v206-unified-shell .wkp-plein60-primary,
.wkp-appshell.wkp-v206-unified-shell .wkp-dash-link{
  background:linear-gradient(135deg,var(--wkp-v206-orange),var(--wkp-v206-orange2)) !important;
  color:#fff !important;
  border:0 !important;
  border-radius:999px !important;
  font-weight:950 !important;
  box-shadow:0 16px 34px rgba(255,122,26,.28) !important;
}
.wkp-appshell.wkp-v206-unified-shell .wkp-plein60-secondary{
  background:rgba(255,255,255,.12) !important;
  color:#fff !important;
  border:1px solid rgba(255,255,255,.16) !important;
  box-shadow:none !important;
}

/* Zwarte balken / labels krijgen nooit zwarte tekst. */
.wkp-appshell.wkp-v206-unified-shell [style*="color: #000"],
.wkp-appshell.wkp-v206-unified-shell [style*="color:#000"],
.wkp-appshell.wkp-v206-unified-shell [style*="color: black"],
.wkp-appshell.wkp-v206-unified-shell [style*="color:black"]{
  color:#fff !important;
}
.wkp-appshell.wkp-v206-unified-shell [style*="background: #fff"],
.wkp-appshell.wkp-v206-unified-shell [style*="background:#fff"],
.wkp-appshell.wkp-v206-unified-shell [style*="background-color: #fff"],
.wkp-appshell.wkp-v206-unified-shell [style*="background-color:#fff"]{
  background:#121927 !important;
  color:#fff !important;
}

/* Mobile: alles één app, geen springende widths. */
@media (max-width: 860px){
  .wkp-appshell.wkp-v206-unified-shell{
    padding:0 12px 104px !important;
  }
  .wkp-appshell.wkp-v206-unified-shell .wkp-dash-topbar{
    position:relative !important;
    top:auto !important;
    border-radius:22px !important;
    margin-top:10px !important;
  }
  .wkp-appshell.wkp-v206-unified-shell .wkp-dash-nav{ display:none !important; }
  .wkp-appshell.wkp-v206-unified-shell .wkp-plein60-masthead,
  .wkp-appshell.wkp-v206-unified-shell .wkp-plein60-submasthead{
    min-height:330px !important;
    border-radius:26px !important;
  }
  .wkp-appshell.wkp-v206-unified-shell .wkp-plein60-masthead-content h1{
    font-size:clamp(36px,12vw,58px) !important;
  }
  .wkp-appshell.wkp-v206-unified-shell .wkp-page-metrics,
  .wkp-appshell.wkp-v206-unified-shell .wkp-dash-hero-grid,
  .wkp-appshell.wkp-v206-unified-shell .wkp-dash-widget-grid,
  .wkp-appshell.wkp-v206-unified-shell .wkp-analysis-grid,
  .wkp-appshell.wkp-v206-unified-shell .wkp-analysis-columns,
  .wkp-appshell.wkp-v206-unified-shell .wkp-rule-grid{
    grid-template-columns:1fr !important;
  }
  .wkp-appshell.wkp-v206-unified-shell .wkp-dash-bottomnav{
    position:fixed !important;
    left:10px !important;
    right:10px !important;
    bottom:10px !important;
    z-index:9999 !important;
    display:grid !important;
    grid-template-columns:repeat(7,1fr) !important;
    gap:4px !important;
    padding:8px !important;
    background:rgba(8,12,20,.92) !important;
    border:1px solid rgba(255,255,255,.14) !important;
    border-radius:24px !important;
    box-shadow:0 18px 55px rgba(0,0,0,.58) !important;
    backdrop-filter:blur(18px) !important;
  }
  .wkp-appshell.wkp-v206-unified-shell .wkp-dash-bottomnav a{
    color:#dbe5f5 !important;
    border-radius:17px !important;
    min-width:0 !important;
    padding:8px 2px !important;
    font-size:17px !important;
    text-align:center !important;
  }
  .wkp-appshell.wkp-v206-unified-shell .wkp-dash-bottomnav a span{
    display:block !important;
    color:inherit !important;
    font-size:9px !important;
    line-height:1.1 !important;
    font-weight:850 !important;
    margin-top:2px !important;
  }
  .wkp-appshell.wkp-v206-unified-shell .wkp-dash-bottomnav a.active{
    background:linear-gradient(135deg,var(--wkp-v206-orange),var(--wkp-v206-orange2)) !important;
    color:#fff !important;
  }
  .wkp-appshell.wkp-v206-unified-shell table thead{ display:none !important; }
  .wkp-appshell.wkp-v206-unified-shell table,
  .wkp-appshell.wkp-v206-unified-shell tbody,
  .wkp-appshell.wkp-v206-unified-shell tr,
  .wkp-appshell.wkp-v206-unified-shell td{
    display:block !important;
    width:100% !important;
  }
  .wkp-appshell.wkp-v206-unified-shell tbody tr{
    margin:0 0 12px !important;
    padding:12px !important;
    border:1px solid rgba(255,255,255,.10) !important;
    border-radius:22px !important;
  }
  .wkp-appshell.wkp-v206-unified-shell td{
    border:0 !important;
    border-radius:0 !important;
    padding:6px 0 !important;
  }
}
