/* Venimo panel theme for the Enhance control panel. Colours come from variables set by theme.js. */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --vt-primary: #0a78b5; --vt-primary-hover: #075680; --vt-primary-soft: #e0f2fe; --vt-primary-line: #bfe3f7;
  --vt-navy: #075680; --vt-navy-2: #0a6595; --vt-navy-accent: #c9ecfb;
  --vt-ink: #0d1b2a; --vt-muted: #55667a; --vt-line: #e2e9f0; --vt-line-strong: #6f8797; --vt-subtle: #f5f8fa; --vt-surface: #ffffff; --vt-glass: rgba(255,255,255,.9); --vt-accent-ink: #075680; --vt-page: #ffffff;
  --vt-radius: 16px; --vt-radius-sm: 12px;
  --vt-shadow-float: 0 12px 32px -12px rgb(11 27 38 / .28), 0 2px 6px rgb(11 27 38 / .08);
  --vt-font: 'Outfit', ui-sans-serif, system-ui, sans-serif;
}

/* ================= global ================= */
html.vt body { background: var(--vt-surface) !important; -webkit-font-smoothing: antialiased; }
html.vt #root, html.vt #root *, html.vt #vt-hero, html.vt #vt-hero *, html.vt #radix-root * { font-family: var(--vt-font) !important; }
html.vt #root code, html.vt #root pre, html.vt #root kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace !important; }
html.vt ::selection { background: var(--vt-primary-soft); }
html.vt ::-webkit-scrollbar { width: 12px; height: 12px; }
html.vt ::-webkit-scrollbar-track { background: transparent; }
html.vt ::-webkit-scrollbar-thumb { background-color: var(--vt-primary); background-clip: padding-box; border: 3px solid transparent; border-radius: 9999px; }

/* inputs (all pages) */
html.vt:not(.vt-files) #root input[type=text], html.vt:not(.vt-files) #root input[type=email], html.vt:not(.vt-files) #root input[type=password],
html.vt:not(.vt-files) #root input[type=search], html.vt:not(.vt-files) #root input[type=number], html.vt:not(.vt-files) #root input[type=url], html.vt:not(.vt-files) #root input:not([type]),
html.vt #root textarea {
  border: 1px solid var(--vt-line-strong) !important; border-radius: var(--vt-radius-sm) !important;
  background: var(--vt-surface) !important; box-shadow: none !important; min-height: 48px; padding-left: 14px !important; color: var(--vt-ink) !important;
  font-size: 16px !important;
}
html.vt #root input:focus, html.vt #root textarea:focus {
  outline: none !important; border-color: var(--vt-primary) !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--vt-primary) 20%, transparent) !important;
}
html.vt #root input[type=password] { padding-right: 44px !important; }
html.vt #root label { font-weight: 600 !important; color: var(--vt-ink) !important; font-size: 14px !important; }

/* buttons */
html.vt #root button { border-radius: var(--vt-radius-sm) !important; }
html.vt #root button[data-qa=iconButton] { border-radius: 9999px !important; }
html.vt #root .vt-btn-primary {
  background: var(--vt-primary) !important; border-color: var(--vt-primary) !important; color: #fff !important;
  font-weight: 600 !important; min-height: 48px; padding-inline: 20px !important; transition: background-color .15s;
}
html.vt #root .vt-btn-primary * { color: #fff !important; }
html.vt #root .vt-btn-primary:hover { background: var(--vt-primary-hover) !important; }

/* ================= login / invite ================= */
html.vt-auth body { background: var(--vt-surface) !important; }
html.vt-auth .vt-login-art { display: none !important; }
html.vt-auth #root .vt-auth-col { width: 100% !important; max-width: 448px !important; }
html.vt-auth #root .vt-auth-col form { margin-top: 0 !important; }
html.vt-auth #root .vt-auth-side {
  width: 50% !important; margin-left: 50% !important; justify-content: center !important; align-items: center !important;
  padding: 24px !important; box-sizing: border-box; background: var(--vt-surface) !important;
}
html.vt-auth #root .vt-auth-side > div { width: 100% !important; max-width: 448px !important; padding: 0 !important; background: transparent !important; }
html.vt-auth #root .vt-auth-logo { display: block !important; height: auto !important; margin-bottom: 28px !important; }
html.vt-auth #root .vt-auth-logo img { display: none !important; }
html.vt-auth #root .vt-auth-logo::before { content: 'Inloggen'; display: block; font-size: 30px; font-weight: 600; color: var(--vt-ink); line-height: 1.2; }
html.vt-auth #root .vt-auth-logo::after { content: var(--vt-host, ''); display: block; margin-top: 6px; color: var(--vt-muted); font-size: 16px; }
html.vt-auth #root form a, html.vt-auth #root form button[type=button]:not([class*=sg]) { color: var(--vt-primary); }

#vt-hero { display: none; }
html.vt-auth #vt-hero {
  position: fixed; z-index: 5; top: 24px; bottom: 24px; left: 24px; width: calc(50% - 36px); box-sizing: border-box;
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  padding: 48px; border-radius: var(--vt-radius); background: var(--vt-navy); color: #fff; overflow: auto;
}
#vt-hero .vt-hero-brand { display: flex; align-items: baseline; gap: 12px; }
#vt-hero .vt-hero-brand img { height: 28px; width: auto; }
#vt-hero .vt-hero-brand strong { font-size: 24px; }
#vt-hero .vt-hero-brand span { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--vt-navy-accent); }
#vt-hero .vt-hero-copy { max-width: 36rem; display: flex; flex-direction: column; gap: 16px; }
#vt-hero h1 { margin: 0; font-size: 48px; line-height: 1.08; font-weight: 600; color: #fff; letter-spacing: -0.01em; }
#vt-hero p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--vt-navy-accent); }
#vt-hero ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
#vt-hero li { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: var(--vt-navy-2); }
#vt-hero li strong { font-weight: 600; }
#vt-hero li span { font-size: 14px; line-height: 1.45; color: var(--vt-navy-accent); }


/* ================= logged-in app: Venimo shell ================= */

html.vt-app body { background: var(--vt-surface) !important; }
html.vt-app { --vt-head: 76px; --vt-edge: max(20px, calc((100vw - 1280px) / 2 + 20px)); --vt-side-w: 248px; }
.vt-hidden { display: none !important; }

/* header like the website */
#vt-header { display: none; }
html.vt-app #vt-header {
  display: block; position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: var(--vt-head);
  background: var(--vt-glass); backdrop-filter: blur(10px); border-bottom: 1px solid var(--vt-line);
}
#vt-header .vt-h-inner { height: 100%; box-sizing: border-box; padding: 0 var(--vt-edge); display: flex; align-items: center; gap: 24px; }
#vt-header .vt-h-brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: var(--vt-ink); }
#vt-header .vt-h-brand img { height: 30px; width: auto; display: block; }
#vt-header .vt-h-brand span { font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--vt-accent-ink); }
#vt-header .vt-h-links { margin-left: auto; margin-right: 160px; display: flex; align-items: center; gap: 8px; }
#vt-header .vt-h-link { padding: 10px 14px; border-radius: 12px; color: var(--vt-ink); text-decoration: none; font-weight: 500; font-size: 15px; }
#vt-header .vt-h-link:hover { background: var(--vt-primary-soft); }
#vt-header .vt-h-cta { padding: 9px 16px; border-radius: 9999px; background: var(--vt-primary); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
#vt-header .vt-h-cta:hover { background: var(--vt-primary-hover); }

/* Enhance's bell + account menu live in our header */
html.vt-app #root .vt-topbar {
  position: fixed !important; z-index: 45 !important; top: 0 !important; right: var(--vt-edge) !important; left: auto !important;
  width: auto !important; height: var(--vt-head) !important; padding: 0 !important; margin: 0 !important;
  background: transparent !important; border: 0 !important; display: flex !important; align-items: center !important;
}
html.vt-app #root .vt-topbar * { padding-top: 0 !important; padding-bottom: 0 !important; }
html.vt-app #root .vt-top-actions { display: flex !important; align-items: center !important; gap: 4px; width: auto !important; margin: 0 !important; }
html.vt-app #root .vt-topbar [data-qa=iconButton] { width: 40px !important; height: 40px !important; }
html.vt-app #root .vt-topbar [data-qa=iconButton]:hover { background: var(--vt-primary-soft) !important; }

/* sidebar = left column like Mijn Account */
html.vt-app #root .vt-sidebar {
  top: calc(var(--vt-head) + 32px) !important; left: var(--vt-edge) !important; bottom: 24px !important; height: auto !important;
  width: var(--vt-side-w) !important; background: transparent !important; border: 0 !important; box-shadow: none !important; overflow-y: auto;
}
html.vt-app #root .vt-sidebar::before {
  content: 'Hostingpaneel' "\A" var(--vt-org, ''); white-space: pre; display: block; padding: 0 4px 16px;
  font-size: 15px; line-height: 1.5; color: var(--vt-muted);
}
html.vt-app #root .vt-sidebar .vt-side-logo-row { display: none !important; }
html.vt-app #root .vt-sidebar > * { background: transparent !important; width: 100% !important; }
html.vt-app #root .vt-sidebar, html.vt-app #root .vt-sidebar * { color: var(--vt-ink) !important; }
html.vt-app #root .vt-sidebar a[href] {
  display: flex !important; align-items: center !important; gap: 12px; width: 100% !important; margin: 2px 0 !important; box-sizing: border-box;
  min-height: 46px; height: auto !important; padding: 0 14px !important; border-radius: var(--vt-radius-sm) !important; background: transparent !important;
  font-size: 16px !important; font-weight: 500 !important; text-decoration: none !important;
}
html.vt-app #root .vt-sidebar a[href] * { font-size: 16px !important; font-weight: 500 !important; padding: 0 !important; margin: 0 !important; }
html.vt-app #root .vt-sidebar a[data-qa=navLink] > div:first-child:empty { display: none !important; }
html.vt-app #root .vt-sidebar a[href]:hover { background: var(--vt-subtle) !important; }
html.vt-app #root .vt-sidebar a.selected, html.vt-app #root .vt-sidebar a[aria-current=page] { background: var(--vt-primary-soft) !important; }
html.vt-app #root .vt-sidebar a.selected, html.vt-app #root .vt-sidebar a.selected * { color: var(--vt-accent-ink) !important; font-weight: 600 !important; }
html.vt-app #root .vt-sidebar a[data-vt-icon] i[role=img], html.vt-app #root .vt-sidebar a[data-vt-icon] > svg,
html.vt-app #root .vt-sidebar a[data-vt-icon] > div > svg, html.vt-app #root .vt-sidebar a[data-vt-icon] > div > i { display: none !important; }
html.vt-app #root .vt-sidebar a[data-vt-icon]::before {
  content: ''; flex: none; width: 20px; height: 20px; background: currentColor;
  -webkit-mask: var(--vt-i) center / contain no-repeat; mask: var(--vt-i) center / contain no-repeat;
}
html.vt-app #root .vt-sidebar a.selected::before { background: var(--vt-accent-ink) !important; }

/* main column */
html.vt-app #root .vt-main {
  margin-left: calc(var(--vt-edge) + var(--vt-side-w) + 48px) !important; margin-right: var(--vt-edge) !important;
  width: auto !important; padding-top: calc(var(--vt-head) + 28px) !important; box-sizing: border-box; min-height: 100vh;
}
html.vt-app #root .vt-main > div:not(.vt-topbar) { padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; }
html.vt-app #root .vt-main > div:not(.vt-topbar) > div { padding-left: 0 !important; padding-right: 0 !important; max-width: none !important; }

/* typography */
html.vt-app #root .vt-page-title { font-size: 44px !important; line-height: 1.1 !important; font-weight: 700 !important; letter-spacing: -0.035em !important; color: var(--vt-ink) !important; }
html.vt-app #root .vt-heading { font-weight: 600 !important; letter-spacing: -0.015em; color: var(--vt-ink) !important; }
html.vt-app #root h2, html.vt-app #root h3, html.vt-app #root [role=heading] { font-weight: 600 !important; color: var(--vt-ink); letter-spacing: -0.015em; }

/* cards: like Mijn Account tiles */
html.vt-app #root [data-qa=card] {
  border-radius: 18px !important; border: 1px solid var(--vt-line) !important; box-shadow: none !important; background: var(--vt-surface) !important;
  transition: border-color .15s, box-shadow .15s;
}
html.vt-app #root [data-qa=card]:hover { border-color: var(--vt-primary-line) !important; box-shadow: 0 8px 24px -16px rgb(11 27 38 / .35) !important; }
html.vt-app #root .vt-illus { display: none !important; }

/* brand banner instead of Enhance purple */
html.vt-app #root .vt-banner { background: var(--vt-navy) !important; border-radius: 18px !important; }
html.vt-app #root .vt-card-banner { border: 0 !important; }

/* pills for labels */
html.vt-app #root .vt-badge {
  border-radius: 9999px !important; padding: 2px 10px !important; height: auto !important; min-height: 22px; box-sizing: border-box;
  display: inline-flex !important; align-items: center; font-size: 12px !important; font-weight: 600 !important; letter-spacing: .02em;
}
html.vt-app #root .vt-badge * { font-size: 12px !important; font-weight: 600 !important; }

/* secondary buttons like "Alle diensten ->" */
html.vt #root .vt-btn-ghost {
  border: 1px solid var(--vt-ink) !important; border-radius: var(--vt-radius-sm) !important; background: var(--vt-surface) !important;
  min-height: 40px !important; height: auto !important; padding: 0 16px !important; box-shadow: none !important;
  display: inline-flex !important; align-items: center !important; gap: 8px; color: var(--vt-ink) !important;
}
html.vt #root .vt-btn-ghost * { border: 0 !important; box-shadow: none !important; font-size: 15px !important; font-weight: 600 !important; color: var(--vt-ink) !important; }
html.vt #root .vt-btn-ghost:hover { background: var(--vt-subtle) !important; }
html.vt #root .vt-btn-arrow::after { content: '\2192'; font-weight: 600; }
html.vt-app #root a.vt-ghost-link { text-decoration: none !important; }

/* filters (react-select) as pills like the webmail */
html.vt #root [class*="-control"] {
  border: 1px solid var(--vt-line) !important; border-radius: 9999px !important; background: var(--vt-surface) !important;
  min-height: 40px !important; padding: 0 6px 0 10px !important; box-shadow: none !important;
}
html.vt #root [class*="-control"]:hover { border-color: var(--vt-line-strong) !important; }
html.vt #root [class*="-control"] * { border: 0 !important; }
html.vt #root [class*="-singleValue"], html.vt #root [class*="-placeholder"] { color: var(--vt-ink) !important; font-weight: 500 !important; font-size: 14px !important; }
html.vt #root [class*="-menu"] { border-radius: 14px !important; border: 1px solid var(--vt-line) !important; box-shadow: var(--vt-shadow-float) !important; overflow: hidden; }
html.vt #root [class*="-option"] { font-size: 14px !important; }

/* tables */
html.vt-app #root table { border-collapse: separate !important; border-spacing: 0; }
html.vt-app #root table th, html.vt-app #root table th * { border-bottom-color: var(--vt-line) !important; }
html.vt-app #root table th { font-size: 13px !important; font-weight: 600 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--vt-muted) !important; }
html.vt-app #root table th * { text-transform: none !important; letter-spacing: 0 !important; }
html.vt-app #root table td { border-color: var(--vt-line) !important; }
html.vt-app #root tr:hover > td { background: var(--vt-subtle) !important; }
html.vt-app #root table a { color: var(--vt-primary) !important; }


/* layout fixes */
html.vt-app #root .vt-side-holder { width: 0 !important; min-width: 0 !important; flex: 0 0 0 !important; }
html.vt #vt-header, html.vt #vt-header * { font-family: var(--vt-font) !important; }
html.vt-app #root .vt-main > div:not(.vt-topbar) > div > div { margin-left: 0 !important; margin-right: 0 !important; max-width: none !important; }
html.vt-app #root .vt-banner, html.vt-app #root .vt-banner * { color: #fff !important; }
html.vt-app #root .vt-banner .vt-btn-ghost, html.vt-app #root .vt-banner .vt-btn-ghost * { color: var(--vt-ink) !important; }
html.vt-app #root [data-qa=card] .vt-btn-ghost { min-height: 34px !important; padding: 0 12px !important; }
html.vt-app #root [data-qa=card] .vt-btn-ghost * { font-size: 14px !important; }

/* website section tabs as pills (like the webmail filters) */
html.vt-app #root .vt-subnav { gap: 6px !important; border: 0 !important; background: transparent !important; flex-wrap: wrap; }
html.vt-app #root .vt-subnav a[href] {
  display: inline-flex !important; align-items: center; gap: 8px; padding: 0 16px !important; min-height: 40px; border-radius: 9999px !important;
  border: 1px solid var(--vt-line) !important; background: var(--vt-surface) !important; text-decoration: none !important; color: var(--vt-ink) !important; font-weight: 500 !important;
}
html.vt-app #root .vt-subnav a[href]:hover { border-color: var(--vt-line-strong) !important; }
html.vt-app #root .vt-subnav a.vt-on { background: var(--vt-navy) !important; border-color: var(--vt-navy) !important; }
html.vt-app #root .vt-subnav a.vt-on, html.vt-app #root .vt-subnav a.vt-on * { color: #fff !important; font-weight: 600 !important; }
html.vt-app #root .vt-subnav a.vt-on svg path:not([fill=none]) { fill: #fff !important; }
html.vt-app #root .vt-subnav a * { border: 0 !important; }
html.vt-app #root .vt-subnav a [class]:empty { display: none !important; }

/* file manager: compact title */
html.vt-files #root .vt-page-title { font-size: 28px !important; }
html.vt-app #root .vt-subnav > * { border: 0 !important; background: transparent !important; }
html.vt-app #root .vt-subnav { align-items: center !important; row-gap: 8px !important; }
html.vt-app #root .vt-subnav > * { padding: 0 !important; margin: 0 !important; height: auto !important; min-height: 0 !important; }
html.vt-app #root .vt-subnav * { border-bottom-width: 0 !important; box-shadow: none !important; }
html.vt-app #root .vt-subnav a[href], html.vt-app #root .vt-subnav > * > button, html.vt-app #root .vt-subnav > button {
  height: 38px !important; min-height: 38px !important; padding: 0 14px !important; box-sizing: border-box !important;
  border: 1px solid var(--vt-line) !important; border-radius: 9999px !important; background: var(--vt-surface) !important;
  display: inline-flex !important; align-items: center !important; gap: 8px; font-size: 14px !important;
}
html.vt-app #root .vt-subnav a[href] *, html.vt-app #root .vt-subnav > * > button * { padding: 0 !important; margin: 0 !important; font-size: 14px !important; }
html.vt-app #root .vt-subnav a.vt-on { background: var(--vt-navy) !important; border-color: var(--vt-navy) !important; }
html.vt-app #root .vt-subnav > * { width: auto !important; min-width: 0 !important; flex: 0 0 auto !important; }
html.vt-app #root .vt-subnav button:not([data-qa=iconButton]) {
  height: 38px !important; min-height: 38px !important; padding: 0 14px !important; box-sizing: border-box !important;
  border: 1px solid var(--vt-line) !important; border-radius: 9999px !important; background: var(--vt-surface) !important;
  display: inline-flex !important; align-items: center !important; gap: 6px;
}
html.vt-app #root .vt-subnav button:not([data-qa=iconButton]) * { padding: 0 !important; margin: 0 !important; font-size: 14px !important; }
html.vt-app #root .vt-subnav a[href], html.vt-app #root .vt-subnav button { margin: 0 !important; }

/* in-page tabs as pills (webmail "Alles / Ongelezen") */
html.vt-app #root .vt-tabs { display: flex !important; flex-wrap: wrap; gap: 8px !important; border: 0 !important; background: transparent !important; width: auto !important; }
html.vt-app #root .vt-tab {
  border-bottom-width: 0 !important; border-top: 0 !important; border-left: 0 !important; border-right: 0 !important;
  box-shadow: inset 0 0 0 1px var(--vt-line) !important; border-radius: 9999px !important; background: var(--vt-surface) !important;
  flex: 0 0 auto !important; width: auto !important; min-width: 0 !important; padding: 0 16px !important; min-height: 40px; display: flex !important; align-items: center; cursor: pointer;
}
html.vt-app #root .vt-tab * { padding: 0 !important; margin: 0 !important; border: 0 !important; }
html.vt-app #root .vt-tab h5 { font-size: 14px !important; font-weight: 500 !important; color: var(--vt-ink) !important; white-space: nowrap; }
html.vt-app #root .vt-tab:hover { box-shadow: inset 0 0 0 1px var(--vt-line-strong) !important; }
html.vt-app #root .vt-tab.vt-on { background: var(--vt-navy) !important; box-shadow: none !important; }
html.vt-app #root .vt-tab.vt-on h5 { color: #fff !important; font-weight: 600 !important; }
html.vt-app #root .vt-card-plain { border: 0 !important; box-shadow: none !important; }

/* dropdown menus and popovers (Radix) as floating cards */
html.vt #radix-root [role=menu], html.vt [data-radix-popper-content-wrapper] > div, html.vt #radix-root [role=dialog]:not([aria-modal=true]) {
  border-radius: 16px !important; border: 1px solid var(--vt-line) !important; box-shadow: var(--vt-shadow-float) !important;
  background: var(--vt-surface) !important; padding: 6px !important; overflow: hidden;
}
html.vt [data-radix-popper-content-wrapper] > span { display: none !important; }
html.vt #radix-root [data-qa=dropdownMenuButton] {
  border-radius: 10px !important; min-height: 40px; padding: 0 12px !important; width: 100%; text-align: left;
}
html.vt #radix-root [data-qa=dropdownMenuButton]:hover, html.vt #radix-root [data-qa=dropdownMenuButton]:focus { background: var(--vt-primary-soft) !important; outline: none !important; }
html.vt #radix-root [data-qa=dropdownMenuButton] * { font-size: 15px !important; color: var(--vt-ink) !important; }
html.vt #radix-root, html.vt #radix-root * { font-family: var(--vt-font) !important; }

/* input with a prefix (www., database prefix) as one field */
html.vt:not(.vt-files) #root .vt-prefix {
  display: flex !important; align-items: center; min-height: 48px; box-sizing: border-box; padding: 0 12px !important;
  background: var(--vt-subtle) !important; border: 1px solid var(--vt-line-strong) !important; border-right: 0 !important;
  border-radius: var(--vt-radius-sm) 0 0 var(--vt-radius-sm) !important; color: var(--vt-muted) !important;
}
html.vt:not(.vt-files) #root input.vt-has-prefix[class] { border-top-left-radius: 0 !important; border-bottom-left-radius: 0 !important; }

/* impersonation strip */
html.vt-imp { --vt-imp-h: 44px; }
html.vt-app.vt-imp #root .vt-impbar {
  position: fixed !important; z-index: 60 !important; top: 0 !important; left: 0 !important; right: 0 !important; width: auto !important;
  height: var(--vt-imp-h) !important; min-height: 0 !important; margin: 0 !important; padding: 0 var(--vt-edge) !important; box-sizing: border-box;
  display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px;
  background: #fff4cc !important; border-bottom: 1px solid #f2d27a !important; border-radius: 0 !important; font-size: 14px !important;
}
html.vt-app.vt-imp #root .vt-impbar * { font-size: 14px !important; color: #5c4300 !important; }
html.vt-app.vt-imp #root .vt-impbar button, html.vt-app.vt-imp #root .vt-impbar button * { min-height: 32px !important; height: 32px !important; padding: 0 12px !important; background: var(--vt-navy) !important; color: #fff !important; border-radius: 9999px !important; }
html.vt-app.vt-imp #vt-header { top: var(--vt-imp-h); }
html.vt-app.vt-imp #root .vt-topbar { top: var(--vt-imp-h) !important; }
html.vt-app.vt-imp #root .vt-sidebar { top: calc(var(--vt-imp-h) + var(--vt-head) + 32px) !important; }
html.vt-app.vt-imp #root .vt-main { padding-top: calc(var(--vt-imp-h) + var(--vt-head) + 28px) !important; }
html.vt-app #root .vt-main { overflow-x: clip; max-width: calc(100vw - var(--vt-edge) * 2 - var(--vt-side-w) - 48px) !important; }
html.vt-app #root .vt-imgcard {
  border-radius: 18px !important; overflow: hidden !important; border: 1px solid var(--vt-line) !important; box-shadow: none !important;
}
html.vt-app.vt-imp #root .vt-impbar button { display: inline-flex !important; align-items: center !important; line-height: 1 !important; }

/* consistent left edge */
html.vt-app #root .vt-uncenter { margin-left: 0 !important; margin-right: 0 !important; width: 100% !important; max-width: none !important; }

/* segmented groups as pills */
html.vt #root .vt-seg { display: inline-flex !important; gap: 6px !important; padding: 0 !important; border: 0 !important; background: transparent !important; flex-wrap: wrap; }
html.vt #root .vt-seg > button {
  min-height: 38px !important; height: 38px !important; padding: 0 16px !important; margin: 0 !important; box-sizing: border-box;
  border: 1px solid var(--vt-line) !important; border-radius: 9999px !important; background: var(--vt-surface) !important; box-shadow: none !important;
}
html.vt #root .vt-seg > button * { border: 0 !important; padding: 0 !important; margin: 0 !important; color: var(--vt-ink) !important; font-size: 14px !important; font-weight: 500 !important; }
html.vt #root .vt-seg > button:hover { border-color: var(--vt-line-strong) !important; }
html.vt #root .vt-seg > button.vt-on { background: var(--vt-navy) !important; border-color: var(--vt-navy) !important; }
html.vt #root .vt-seg > button.vt-on * { color: #fff !important; font-weight: 600 !important; }

/* suffix boxes after an input (@, MB) joined with the field */
html.vt:not(.vt-files) #root .vt-fieldrow { display: flex !important; align-items: stretch !important; }
html.vt:not(.vt-files) #root input.vt-has-suffix[class] {
  border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; flex: 1 1 auto; min-width: 0;
}
html.vt:not(.vt-files) #root .vt-suffix {
  display: flex !important; align-items: center !important; justify-content: center; flex: 0 0 auto;
  min-width: 44px; min-height: 48px; height: auto !important; padding: 0 12px !important; box-sizing: border-box;
  background: var(--vt-subtle) !important; border: 1px solid var(--vt-line-strong) !important; border-left: 0 !important;
  border-radius: 0 var(--vt-radius-sm) var(--vt-radius-sm) 0 !important;
  color: var(--vt-ink) !important; font-size: 16px !important; font-weight: 600 !important; position: static !important;
}
html.vt:not(.vt-files) #root .vt-suffix * { color: var(--vt-ink) !important; font-size: 16px !important; }
html.vt-app #root .vt-nopad { padding-left: 0 !important; padding-right: 0 !important; }
html.vt-app.vt-imp #root .vt-impbar button * { height: auto !important; min-height: 0 !important; padding: 0 !important; background: transparent !important; line-height: 1.2 !important; display: inline-flex; align-items: center; }
html.vt-files #root .vt-page-title { font-size: 22px !important; text-overflow: clip !important; overflow: visible !important; white-space: nowrap !important; }

/* sidebar: no "Hostingpaneel / org" label and no search item */
html.vt-app #root .vt-sidebar::before { content: none !important; display: none !important; }
html.vt-app #root .vt-sidebar a[href="/search"] { display: none !important; }
html.vt-app #root .vt-sidebar a[href="/github"] { display: none !important; }
html.vt-files #root h3 { font-size: 20px !important; text-overflow: clip !important; overflow: visible !important; white-space: nowrap !important; }
html.vt-files #root .vt-files-title { flex: 0 0 auto !important; }
html.vt-auth #root form a, html.vt-auth #root form a * { color: var(--vt-primary) !important; text-decoration: none !important; border: 0 !important; background: transparent !important; }
html.vt-app #root .vt-card-clip { overflow: hidden !important; }

/* ================= dark mode: Venimo navy (only when the user picks it with the moon button) ================= */
html.vt-dark {
  --vt-page: #071c2b;          /* page background: deepest navy */
  --vt-surface: #0c2a3f;       /* cards, inputs */
  --vt-subtle: #0a2335;        /* hover rows, prefix boxes */
  --vt-raised: #11344d;        /* menus, popovers */
  --vt-glass: rgba(7,28,43,.88);
  --vt-ink: #e6f1f8; --vt-muted: #9db6c9;
  --vt-line: #1b3f59; --vt-line-strong: #3d6482;
  --vt-primary: #31b7e9; --vt-primary-hover: #5cc8f0;
  --vt-primary-soft: rgba(49,183,233,.14); --vt-primary-line: rgba(49,183,233,.45);
  --vt-navy: #1677ad; --vt-accent-ink: #8fd8f5;
  color-scheme: dark;
}
html.vt-dark body, html.vt-dark.vt-app body { background: var(--vt-page) !important; }
html.vt-dark #root .vt-btn-primary, html.vt-dark #root .vt-btn-primary * { color: #04202f !important; }
html.vt-dark #root .vt-btn-primary { background: var(--vt-primary) !important; border-color: var(--vt-primary) !important; }
html.vt-dark #root .vt-btn-primary:hover { background: var(--vt-primary-hover) !important; }
html.vt-dark #root .vt-btn-ghost { border-color: var(--vt-line-strong) !important; }
html.vt-dark #vt-header .vt-h-link { color: var(--vt-ink); }
html.vt-dark #vt-header .vt-h-cta { background: var(--vt-primary); color: #04202f; }
html.vt-dark #vt-header .vt-logo-light, html.vt:not(.vt-dark) #vt-header .vt-logo-dark { display: none !important; }

/* Enhance's own dark greys, re-tinted to navy (classes set once per element by theme.js) */
html.vt-dark #root .vt-dk0, html.vt-dark #radix-root .vt-dk0 { background-color: var(--vt-page) !important; }
html.vt-dark #root .vt-dk1, html.vt-dark #radix-root .vt-dk1 { background-color: var(--vt-surface) !important; }
html.vt-dark #root .vt-dk2, html.vt-dark #radix-root .vt-dk2 { background-color: var(--vt-raised) !important; }
html.vt-dark #root .vt-dkb { border-color: var(--vt-line) !important; }

/* our own components on navy */
html.vt-dark #root [data-qa=card] { background: var(--vt-surface) !important; }
html.vt-dark #root table th, html.vt-dark #root table td { background-color: transparent; }
html.vt-dark #root tr:hover > td { background: var(--vt-subtle) !important; }
html.vt-dark #radix-root [role=menu], html.vt-dark [data-radix-popper-content-wrapper] > div, html.vt-dark #root [class*="-menu"] { background: var(--vt-raised) !important; border-color: var(--vt-line) !important; }
html.vt-dark #root [class*="-option"] { background: transparent !important; color: var(--vt-ink) !important; }
html.vt-dark #root [class*="-option"]:hover, html.vt-dark #root [class*="-option--is-focused"] { background: var(--vt-primary-soft) !important; }
html.vt-dark #radix-root [data-qa=dropdownMenuButton] * { color: var(--vt-ink) !important; }
html.vt-dark #root .vt-tab h5, html.vt-dark #root .vt-seg > button *, html.vt-dark #root .vt-subnav a[href] { color: var(--vt-ink) !important; }
html.vt-dark #root .vt-prefix, html.vt-dark #root .vt-suffix { background: var(--vt-subtle) !important; color: var(--vt-muted) !important; }
html.vt-dark #root .vt-suffix, html.vt-dark #root .vt-suffix * { color: var(--vt-ink) !important; }
html.vt-dark #root ::placeholder { color: #6f8ca3 !important; }
html.vt-dark #root .vt-banner { background: var(--vt-navy) !important; }
html.vt-dark #root .vt-sidebar a[href]:hover { background: var(--vt-subtle) !important; }
html.vt-dark.vt-imp #root .vt-impbar { background: #3a3110 !important; border-bottom-color: #6b5a1c !important; }
html.vt-dark.vt-imp #root .vt-impbar * { color: #ffe8a3 !important; }
/* dark: sidebar stays a transparent column, like in light mode */
html.vt-dark.vt-app #root .vt-sidebar, html.vt-dark.vt-app #root .vt-sidebar > *, html.vt-dark.vt-app #root .vt-sidebar .vt-dk0, html.vt-dark.vt-app #root .vt-sidebar .vt-dk1, html.vt-dark.vt-app #root .vt-sidebar .vt-dk2 { background-color: transparent !important; }
html.vt-dark.vt-app #root .vt-sidebar a.selected { background: var(--vt-primary-soft) !important; }
html.vt-dark.vt-app #root .vt-topbar, html.vt-dark.vt-app #root .vt-topbar * { background-color: transparent !important; }
html.vt-dark.vt-app #root .vt-topbar [data-qa=iconButton]:hover { background-color: var(--vt-primary-soft) !important; }

/* vertical in-page menus (Instellingen, Veiligheid, Ontwikkelaars, ...) like the main menu */
html.vt-app #root .vt-sidenav { gap: 2px !important; padding: 0 !important; }
html.vt-app #root .vt-sidenav > button {
  border: 0 !important; background: transparent !important; box-shadow: none !important; width: 100% !important;
  min-height: 44px !important; height: auto !important; padding: 10px 14px !important; margin: 0 !important; box-sizing: border-box;
  border-radius: var(--vt-radius-sm) !important; justify-content: flex-start !important; text-align: left !important; position: relative;
}
html.vt-app #root .vt-sidenav > button p { font-size: 15px !important; font-weight: 500 !important; color: var(--vt-ink) !important; white-space: normal !important; line-height: 1.3 !important; margin: 0 !important; padding: 0 !important; }
html.vt-app #root .vt-sidenav > button:hover { background: var(--vt-subtle) !important; }
html.vt-app #root .vt-sidenav > button.vt-on { background: var(--vt-primary-soft) !important; }
html.vt-app #root .vt-sidenav > button.vt-on p { color: var(--vt-accent-ink) !important; font-weight: 600 !important; }
html.vt-app #root .vt-sidenav .rectangle { visibility: hidden !important; position: absolute !important; }

/* section headings inside cards (".PHP", "SSL-certificaten", "Organisatie") */
html.vt-app #root .vt-main h6 { font-size: 18px !important; font-weight: 600 !important; color: var(--vt-ink) !important; letter-spacing: -0.01em; }
html.vt #root .vt-btn-ghost[class] { background: var(--vt-surface) !important; color: var(--vt-ink) !important; }
html.vt-app #root .vt-sidenav-single { display: none !important; }
/* titles never get cut off; next to an in-page menu they are a bit smaller */
html.vt-app #root .vt-page-title { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
html.vt-app #root .vt-page-title * { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; }
html.vt-has-sidenav #root .vt-page-title { font-size: 32px !important; letter-spacing: -0.025em !important; }
html.vt-app #root .vt-subnav-bar, html.vt-dark.vt-app #root .vt-subnav-bar.vt-dk0, html.vt-dark.vt-app #root .vt-subnav-bar.vt-dk1, html.vt-dark.vt-app #root .vt-subnav-bar.vt-dk2 { background-color: transparent !important; box-shadow: none !important; }
html.vt-app #root .vt-heading-lg:not(.vt-page-title) { font-size: 26px !important; font-weight: 600 !important; letter-spacing: -0.02em !important; }
html.vt-app #root .vt-page-title.vt-page-title { font-size: 44px !important; }
html.vt-has-sidenav #root .vt-page-title.vt-page-title { font-size: 32px !important; }

/* inner layers touching a card's top/bottom edge follow its rounded corners (classes set by theme.js) */
html.vt-app #root .vt-round-top { border-top-left-radius: 15px !important; border-top-right-radius: 15px !important; }
html.vt-app #root .vt-round-bottom { border-bottom-left-radius: 15px !important; border-bottom-right-radius: 15px !important; }

/* =====================================================================
   PHONES & TABLETS (< 1024px) — must stay the last block in this file
   Enhance switches to its own mobile layout here: a fixed 64px top bar with a
   hamburger, and the menu as a drawer. We keep that behaviour, restyle it.
   ===================================================================== */
@media (max-width: 1023px) {
  html.vt-app { --vt-edge: 16px; --vt-head: 64px; }

  /* top bar: our white header with the logo, Enhance's buttons on top of it */
  html.vt-app #vt-header { display: block; height: var(--vt-head); }
  html.vt-app #vt-header .vt-h-inner { padding: 0 16px 0 60px; }
  html.vt-app #vt-header .vt-h-brand img { height: 24px; }
  html.vt-app #vt-header .vt-h-brand span { font-size: 10px; letter-spacing: .16em; }
  html.vt-app #vt-header .vt-h-links { display: none; }
  html.vt-app #root .vt-topbar { position: static !important; height: 0 !important; width: auto !important; right: auto !important; display: block !important; }
  html.vt-app #root .vt-topbar > * { position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; height: var(--vt-head) !important; z-index: 45 !important; background: transparent !important; box-shadow: none !important; pointer-events: none; }
  html.vt-app #root .vt-topbar > * * { pointer-events: auto; }
  html.vt-app #root .vt-topbar > *, html.vt-app #root .vt-topbar > * > * { display: flex !important; align-items: center !important; }
  html.vt-app #root .vt-topbar > * > * { height: 100% !important; width: 100% !important; box-sizing: border-box; }
  html.vt-app #root .vt-topbar .vt-ham { display: flex !important; align-items: center; }
  html.vt-app #root .vt-topbar, html.vt-app #root .vt-topbar * { background-color: transparent !important; color: var(--vt-ink) !important; }
  html.vt-app #root .vt-topbar svg, html.vt-app #root .vt-topbar svg * { fill: var(--vt-ink) !important; }
  html.vt-app #root .vt-topbar [data-qa=iconButton] { width: 40px !important; height: 40px !important; border-radius: 9999px !important; }

  /* drawer menu: light panel under the top bar, same items as on desktop */
  html.vt-app #root .vt-sidebar {
    top: var(--vt-head) !important; left: 0 !important; bottom: 0 !important; height: auto !important;
    width: min(300px, 86vw) !important; padding: 16px 12px 24px !important; box-sizing: border-box; overflow-y: auto;
    background: var(--vt-surface) !important; border-right: 1px solid var(--vt-line) !important; box-shadow: 0 20px 48px -20px rgb(11 27 38 / .45) !important;
    z-index: 44 !important;
  }
  html.vt-app #root .vt-sidebar a[href] { min-height: 48px; }
  html.vt-app #root .vt-sidebar [data-qa=spine-toggle] { display: none !important; }

  /* tablets: Enhance keeps an icon-only strip; make it a slim Venimo rail with the content next to it */
  html.vt-rail #root .vt-sidebar { width: 76px !important; padding: 16px 10px !important; box-shadow: none !important; }
  html.vt-rail #root .vt-sidebar a[href] { justify-content: center !important; padding: 0 !important; gap: 0 !important; }
  html.vt-rail #root .vt-sidebar .vt-side-logo-row, html.vt-rail #root .vt-sidebar .vt-side-logo { display: none !important; }
  html.vt-rail.vt-app #root .vt-main.vt-main { padding-left: calc(76px + 20px) !important; }

  /* content: full width with a 16px gutter */
  html.vt-app #root .vt-main {
    margin: 0 !important; max-width: none !important; width: auto !important; min-width: 0 !important;
    padding: calc(var(--vt-head) + 12px) 16px 40px !important; overflow-x: clip;
  }
  html.vt-app.vt-imp #root .vt-main { padding-top: calc(var(--vt-imp-h) + var(--vt-head) + 20px) !important; }
  html.vt-app #root .vt-main > div:not(.vt-topbar) { padding-left: 0 !important; padding-right: 0 !important; }

  /* type scale for small screens */
  html.vt-app #root .vt-page-title.vt-page-title { font-size: 30px !important; line-height: 1.15 !important; }
  html.vt-has-sidenav #root .vt-page-title.vt-page-title { font-size: 26px !important; }
  html.vt-app #root .vt-heading-lg:not(.vt-page-title) { font-size: 22px !important; }
  html.vt-app #root [data-qa=card] { border-radius: 16px !important; }

  /* tabs become a list on phones (Enhance shows them with a chevron): full-width rows */
  html.vt-app #root .vt-tabs { flex-direction: column !important; width: 100% !important; gap: 8px !important; background: transparent !important; box-shadow: none !important; }
  html.vt-app #root .vt-tab { width: 100% !important; min-height: 52px !important; padding: 0 16px !important; border-radius: 14px !important; box-sizing: border-box; }
  html.vt-app #root .vt-tab > div { display: flex !important; align-items: center !important; justify-content: space-between !important; width: 100% !important; gap: 12px; }
  html.vt-app #root .vt-tab h5 { font-size: 16px !important; }
  html.vt-app #root .vt-tab i[aria-label="chevron right"] { position: static !important; flex: none; }
  html.vt-app #root .vt-tab.vt-on i svg, html.vt-app #root .vt-tab.vt-on i svg * { fill: #fff !important; }
  /* the drawer has a thin dark divider at the top (left over from the hidden search item) */
  html.vt-app #root .vt-sidebar > div:empty, html.vt-app #root .vt-sidebar div[class]:empty { border-color: transparent !important; }

  /* in-page menus stack above the content */
  html.vt-app #root .vt-sidenav { width: 100% !important; }

  /* impersonation strip */
  html.vt-app.vt-imp #root .vt-impbar { padding: 0 12px !important; }
  html.vt-app.vt-imp #root .vt-impbar span, html.vt-app.vt-imp #root .vt-impbar p { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html.vt-app.vt-imp #root .vt-topbar > * { top: var(--vt-imp-h) !important; }
  html.vt-app.vt-imp #root .vt-sidebar { top: calc(var(--vt-imp-h) + var(--vt-head)) !important; }

  /* dark mode: drawer and bar follow the navy palette */
  html.vt-dark.vt-app #root .vt-sidebar { background: var(--vt-surface) !important; border-right-color: var(--vt-line) !important; }

  /* login: form first, with a compact brand bar above it */
  html.vt-auth body { display: flex !important; flex-direction: column !important; }
  html.vt-auth #vt-hero {
    position: static !important; order: -1; width: auto !important; margin: 16px 16px 0 !important; padding: 20px 22px !important;
    gap: 10px !important; border-radius: 16px !important; overflow: visible !important;
  }
  html.vt-auth #vt-hero .vt-hero-brand img { height: 24px; }
  html.vt-auth #vt-hero .vt-hero-brand span { font-size: 10px; }
  html.vt-auth #vt-hero h1 { font-size: 22px !important; line-height: 1.2 !important; }
  html.vt-auth #vt-hero p, html.vt-auth #vt-hero ul { display: none !important; }
  html.vt-auth #root .vt-auth-side { width: 100% !important; margin-left: 0 !important; min-height: 0 !important; padding: 28px 16px 40px !important; align-items: flex-start !important; }
  html.vt-auth #root .vt-auth-logo::before { font-size: 26px; }
  html.vt-auth #root .vt-auth-wrap, html.vt-auth #root .vt-auth-side, html.vt-auth #root .vt-auth-side > div, html.vt-auth #root .vt-auth-col {
    min-height: 0 !important; height: auto !important; justify-content: flex-start !important;
  }
  html.vt-auth #root .vt-auth-logo { margin-bottom: 4px !important; }
  html.vt-auth #root .vt-auth-col { margin-top: 32px !important; }
  html.vt-auth #root .vt-auth-colwrap, html.vt-auth #root > div, html.vt-auth #root > div > div { min-height: 0 !important; padding-top: 0 !important; }
}
@media (max-width: 520px) {
  html.vt-app #vt-header .vt-h-brand span { display: none; }
}
html.vt-app #root .vt-sidebar .vt-divider { display: none !important; }
