/* DomeinBase – basisstijlen. Kleuren/font komen uit :root (branding-instellingen). */
:root { --bg: #f3f5f9; --line: #e6eaf2; --muted: #64748b; --radius: 8px; --shadow: 0 1px 2px rgba(15,23,42,.04), 0 6px 20px rgba(15,23,42,.05); --shadow-lg: 0 14px 34px rgba(15,23,42,.09); }
*, *::before, *::after { box-sizing: border-box; }
[v-cloak] { display: none; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font, system-ui, sans-serif); color: #0f172a; background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0 0 .75rem; line-height: 1.25; color: var(--secondary); letter-spacing: -.01em; }
h1 { font-size: 1.7rem; font-weight: 700; letter-spacing: -.02em; } h2 { font-size: 1.3rem; } h3 { font-size: 1.02rem; font-weight: 600; } h4 { font-size: .95rem; }
p { margin: 0 0 1rem; }
code { background: #eef2f7; padding: .1em .4em; border-radius: 8px; font-size: .9em; }
.muted { color: var(--muted); }
.icon { width: 1.1em; height: 1.1em; flex: 0 0 auto; vertical-align: -.2em; }
.container { max-width: 1600px; margin: 0 auto; padding: 0 1.25rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .45rem; padding: .62rem 1.15rem; border-radius: 8px; border: 1px solid transparent; font: inherit; font-weight: 600; cursor: pointer; transition: transform .1s, box-shadow .15s, background .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 35%, transparent); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: #fff; color: var(--secondary); border-color: var(--line); box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.btn-light { background: #fff; color: var(--secondary); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.btn-light:hover { background: #f8fafc; }
.btn-outline-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.btn-outline-light:hover { background: rgba(255,255,255,.18); }
.pill { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 .4rem; border-radius: 999px; background: rgba(255,255,255,.25); font-size: .72rem; font-weight: 700; }
.btn-ghost:hover { border-color: #cbd5e1; background: #f8fafc; }
.btn-icon { padding: .45rem; }
.btn-icon .icon { width: 18px; height: 18px; }
.btn-success { background: #059669; color: #fff; }
.btn-danger { background: #dc2626; color: #fff; }
.btn-sm { padding: .42rem .8rem; font-size: .85rem; border-radius: 8px; }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
button.link { background: none; border: 0; color: var(--primary); cursor: pointer; font: inherit; text-decoration: underline; padding: 0; }

/* Forms */
.form label { display: block; margin-bottom: 1.1rem; font-weight: 600; font-size: .82rem; color: #334155; }
.form input:not([type=checkbox]):not([type=radio]), .form select, .form textarea { display: block; width: 100%; margin-top: .15rem; padding: .6rem 0; border: 0; border-bottom: 1.5px solid #d3dae6; border-radius: 0; font: inherit; font-weight: 400; color: var(--secondary); background: transparent; transition: border-color .15s; }
.form select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .2rem center; padding-right: 1.6rem; cursor: pointer; }
.form input::placeholder, .form textarea::placeholder { color: #94a3b8; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--primary); box-shadow: 0 1.5px 0 0 var(--primary); }
.form input[disabled] { color: #64748b; border-bottom-style: dashed; }
.whois-form { display: flex; align-items: flex-end; gap: 1rem; max-width: 560px; }
.whois-form .search-field { flex: 1; }
.whois-form .search-field input { width: 100%; padding: .55rem .2rem .55rem 1.5rem; border: 0; border-bottom: 1.5px solid #d3dae6; font: inherit; background: transparent; }
.whois-form .search-field input:focus { outline: none; border-bottom-color: var(--primary); }
.form .field-icon { position: relative; }
.form .field-icon > .icon { position: absolute; left: 0; bottom: .7rem; width: 18px; height: 18px; color: #94a3b8; pointer-events: none; }
.form .field-icon > .unit-text { font-size: .7rem; font-weight: 600; line-height: 18px; text-align: center; }
.form .field-icon input:not([type=checkbox]), .form .field-icon select, .form .field-icon textarea { padding-left: 1.7rem; }
.form .field-icon:focus-within > .icon { color: var(--primary); }
.form .checkbox { display: flex; align-items: flex-start; gap: .5rem; font-weight: 400; }
.form .checkbox input { margin-top: .25rem; flex: 0 0 auto; }
.form .checkbox span { flex: 1; }
.card form + h3, .tab-panel form + h3 { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: 1rem 0; }
.field-error { display: block; color: #dc2626; font-size: .8rem; margin-top: .3rem; font-weight: 400; }
.inline-form { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .5rem; }
.inline-form label { margin-bottom: 0; flex: 1 1 200px; }
fieldset.perms { border: 1px solid #e2e8f0; border-radius: 8px; padding: .5rem 1rem; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
fieldset.perms legend { font-size: .85rem; color: #64748b; padding: 0 .3rem; }
fieldset.perms .checkbox { margin: 0; }
.segmented { display: flex; border: 1px solid #d3dae6; border-radius: 8px; overflow: hidden; margin-bottom: 1rem; }
.segmented label { flex: 1; margin: 0; text-align: center; padding: .6rem; cursor: pointer; font-weight: 500; }
.segmented label.active { background: var(--primary); color: #fff; }
.segmented input { display: none; }

/* Alerts */
.alert { padding: .85rem 1.1rem; border-radius: 8px; animation: rise .3s ease-out; margin-bottom: 1rem; font-size: .9rem; border: 1px solid; }
.alert-success { background: #ecfdf5; color: #065f46; border-color: #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border-color: #fecaca; }
.alert-warning { background: #fffbeb; color: #92400e; border-color: #fde68a; }
.alert-info { background: #eff6ff; color: #1e40af; border-color: #bfdbfe; }
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .18rem .6rem; border-radius: 999px; font-size: .74rem; font-weight: 600; background: #e8edf5; color: #334155; white-space: nowrap; }
.badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .7; }
.badge-success { background: #d1fae5; color: #065f46; }
.status-icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; cursor: default; }
.status-icon:not([class*="badge-"]) { background: #e8edf5; color: #334155; }
.status-icon .icon { width: 14px; height: 14px; }
.status-icon::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: #0f172a; color: #fff; font-size: .72rem; font-weight: 600; padding: .3rem .55rem; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .15s; z-index: 20; }
.status-icon:hover::after { opacity: 1; }
.badge-danger { background: #fee2e2; color: #991b1b; }

/* Auth */
.auth-body { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--primary) 18%, #f1f5f9), #f1f5f9 60%); }
.auth-wrap { width: 100%; max-width: 480px; padding: 2rem 1rem; }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: .6rem; font-weight: 700; font-size: 1.3rem; color: var(--secondary); margin-bottom: 1.5rem; }
.auth-brand img { max-height: 48px; }
.brand-mark { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 8px; background: var(--primary); color: #fff; font-size: .9rem; font-weight: 800; }
.auth-card { background: #fff; border-radius: 8px; padding: 2rem; box-shadow: 0 10px 40px rgba(15, 23, 42, .08); animation: rise .35s ease-out; }
.auth-card .btn-primary { width: 100%; }
.auth-switch, .auth-footer { text-align: center; color: #64748b; font-size: .9rem; margin-top: 1.25rem; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Wizard */
.wizard-steps { display: flex; list-style: none; padding: 0; margin: 0 0 1.5rem; gap: .5rem; }
.wizard-steps li { flex: 1; display: flex; align-items: center; gap: .5rem; font-size: .8rem; color: #94a3b8; padding-bottom: .5rem; border-bottom: 2px solid #e2e8f0; }
.wizard-steps li span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e2e8f0; font-weight: 700; font-size: .75rem; }
.wizard-steps li.active { color: var(--primary); border-color: var(--primary); }
.wizard-steps li.active span { background: var(--primary); color: #fff; }
.wizard-steps li.done { color: #059669; border-color: #059669; }
.wizard-steps li.done span { background: #059669; color: #fff; }
.wizard-nav .btn-primary { width: auto; }
.summary dl { display: grid; grid-template-columns: 130px 1fr; gap: .4rem 1rem; margin: 0 0 1rem; font-size: .95rem; }
.summary dt { color: #64748b; } .summary dd { margin: 0; }
.fade-enter-active, .fade-leave-active { transition: opacity .2s; }
.fade-enter-from, .fade-leave-to { opacity: 0; }

/* Loader + welkom */
.db-loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgba(255, 255, 255, .85); backdrop-filter: blur(3px); animation: fadein .2s; }
.db-spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid #e2e8f0; border-top-color: var(--primary); animation: spin .8s linear infinite; }
.db-welcome { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; background: var(--secondary); color: #fff; text-align: center; animation: fadein .3s; }
.db-welcome.leaving { animation: fadeout .5s forwards; }
.db-welcome h1 { color: #fff; font-size: 2rem; margin: 1rem 0 .25rem; animation: rise .5s .2s both; }
.db-welcome p { color: #cbd5e1; animation: rise .5s .4s both; }
.db-welcome .db-spinner { border-color: rgba(255,255,255,.2); border-top-color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadein { from { opacity: 0; } }
@keyframes fadeout { to { opacity: 0; visibility: hidden; } }

/* Frontend */
.topbar { background: var(--secondary); color: #cbd5e1; font-size: .8rem; }
.topbar .container { display: flex; justify-content: flex-end; gap: 1.5rem; padding-top: .35rem; padding-bottom: .35rem; }
.site-header { background: #fff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 10; }
.site-header .container { display: flex; align-items: center; gap: 2rem; height: 68px; }
.brand { display: flex; align-items: center; gap: .5rem; font-weight: 700; color: var(--secondary); }
.site-nav { display: flex; gap: 1.25rem; flex: 1; }
.site-nav a { color: #334155; font-weight: 500; }
.site-nav > a, .site-nav .nav-link { display: inline-flex; align-items: center; gap: .35rem; }
.site-nav .nav-item { position: relative; display: flex; align-items: center; }
.site-nav .nav-caret { background: none; border: 0; padding: 0 0 0 .15rem; color: inherit; cursor: pointer; display: inline-flex; }
.site-nav .nav-caret .icon { transform: rotate(90deg); transition: transform .15s; }
.site-nav .nav-item:hover .nav-caret .icon, .site-nav .nav-item.open .nav-caret .icon { transform: rotate(-90deg); }
.site-nav .nav-dropdown, .site-nav .nav-mega { position: absolute; top: calc(100% + .9rem); left: 0; background: #fff; color: #0f172a; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px rgba(15,23,42,.14); padding: .6rem; display: none; z-index: 40; }
.site-nav .nav-item:hover > .nav-dropdown, .site-nav .nav-item:hover > .nav-mega, .site-nav .nav-item.open > .nav-dropdown, .site-nav .nav-item.open > .nav-mega { display: grid; }
.site-nav .nav-item::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 1rem; }
.site-nav .nav-dropdown { min-width: 240px; gap: .1rem; }
.site-nav .nav-mega { left: 50%; transform: translateX(-50%); grid-template-columns: repeat(var(--cols, 3), minmax(200px, 1fr)); gap: 1rem; padding: 1.2rem; max-width: min(1000px, 90vw); }
.site-nav .mega-col > strong { display: flex; align-items: center; gap: .4rem; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #64748b; padding: .35rem .6rem; }
.site-nav .dropdown-link, .site-nav .mega-link { display: flex; align-items: flex-start; gap: .55rem; padding: .55rem .7rem; border-radius: 8px; font-weight: 500; color: #0f172a; text-transform: none; }
.site-nav .dropdown-link:hover, .site-nav .mega-link:hover { background: color-mix(in srgb, var(--primary) 8%, #fff); color: var(--primary); }
.site-nav .dropdown-link .icon, .site-nav .mega-link .icon { margin-top: .15rem; color: var(--primary); flex: 0 0 auto; }
.site-nav .dropdown-link small, .site-nav .mega-link small { display: block; font-weight: 400; color: #64748b; font-size: .78rem; margin-top: .1rem; }
.header-actions { display: flex; gap: .5rem; }
.hero { padding: 5rem 0; text-align: center; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, #fff), #fff); }
.hero h1 { font-size: 2.4rem; }
.hero p { font-size: 1.1rem; color: #475569; max-width: 560px; margin: 0 auto 2rem; }
.domain-search { display: flex; max-width: 560px; margin: 0 auto; gap: .5rem; }
.domain-search input { flex: 1; padding: .8rem 1rem; border: 1px solid #d3dae6; border-radius: 8px; font: inherit; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.25rem; padding: 3rem 1.25rem; }
.feature { background: #fff; padding: 1.5rem; border-radius: 8px; border: 1px solid #e2e8f0; }
.content-page { padding: 3rem 1.25rem; }
.site-footer { background: var(--secondary); color: #94a3b8; padding: 2rem 0; margin-top: 3rem; font-size: .9rem; }

/* Portal */
.portal { display: flex; min-height: 100vh; background: var(--bg); }
.sidebar { width: 288px; flex-shrink: 0; background: linear-gradient(180deg, var(--secondary) 0%, color-mix(in srgb, var(--secondary) 86%, #000) 100%); color: #cbd5e1; display: flex; flex-direction: column; padding: 1.25rem 1rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; box-shadow: inset -1px 0 0 rgba(255,255,255,.06); }
.sidebar::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 260px; background: radial-gradient(circle at 20% 0%, color-mix(in srgb, var(--primary) 35%, transparent), transparent 70%); pointer-events: none; }
.sidebar > * { position: relative; }
.sidebar .brand { color: #fff; padding: .25rem .5rem 1.25rem; font-size: 1.05rem; letter-spacing: -.01em; }
.sidebar .brand-mark { box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 50%, transparent); }
.sidebar .brand img { max-height: 40px; max-width: 100%; filter: brightness(0) invert(1); }
.sidebar .brand-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-section { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: #64748b; padding: .5rem .75rem .4rem; font-weight: 600; }
.sidebar nav { display: flex; flex-direction: column; gap: .2rem; flex: 1; }
.sidebar nav a { position: relative; display: flex; align-items: center; gap: .75rem; padding: .62rem .8rem; border-radius: 8px; color: #cbd5e1; font-weight: 500; font-size: .92rem; transition: background .15s, color .15s, transform .15s; }
.sidebar nav a:hover { background: rgba(255,255,255,.07); text-decoration: none; color: #fff; transform: translateX(2px); }
.sidebar nav a.active { background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 80%, #fff)); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 40%, transparent); }
.sidebar nav a.active::before { content: ''; position: absolute; left: -1rem; top: 25%; height: 50%; width: 3px; border-radius: 0 3px 3px 0; background: #fff; }
.nav-icon { width: 20px; height: 20px; flex: 0 0 20px; opacity: .8; }
.sidebar nav a.active .nav-icon, .sidebar nav a:hover .nav-icon { opacity: 1; }
.sidebar-footer { margin-top: auto; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: .5rem; }
.sidebar-user { display: flex; align-items: center; gap: .7rem; padding: .5rem .6rem; border-radius: 8px; color: #fff; transition: background .15s; }
.sidebar-user:hover { background: rgba(255,255,255,.07); text-decoration: none; }
.sidebar-user-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.sidebar-user-text strong { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-text small { color: #94a3b8; font-size: .75rem; }
.sidebar-footer .version { font-size: .7rem; color: #475569; padding: 0 .6rem; }
.sidebar-backdrop { display: none; }
.portal-body { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--bg); }
.mobile-bar { display: none; align-items: center; gap: .75rem; padding: .6rem 1rem; background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.mobile-bar strong { font-size: 1rem; }
.sidebar-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--secondary); padding: .3rem; }
.sidebar-toggle .icon { width: 24px; height: 24px; }
.title-card { display: flex; align-items: center; gap: .9rem; padding: .85rem 1.25rem; }
.title-icon { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 8px; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #7c3aed)); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 30%, transparent); }
.title-icon .icon { width: 22px; height: 22px; }
.title-card-dash { flex-wrap: wrap; }
.title-icon-light { background: rgba(255,255,255,.15); box-shadow: none; align-self: flex-start; }
.title-card-dash h1 { font-size: 1.2rem; }
.title-card-dash p { margin: .15rem 0 0; font-size: .8rem; color: var(--muted); }
.title-card-dash .page-actions { margin-left: auto; }
.title-card h1 { margin: 0; font-size: 1.15rem; }
.title-actions { margin-left: auto; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.title-actions select, .title-actions input { padding: .5rem .2rem; border: 0; border-bottom: 1.5px solid #d3dae6; font: inherit; font-size: .85rem; background: transparent; color: var(--secondary); }
.title-actions select { appearance: none; -webkit-appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .1rem center; padding-right: 1.4rem; cursor: pointer; }
.title-actions input:focus, .title-actions select:focus { outline: none; border-bottom-color: var(--primary); }
.search-field { position: relative; display: inline-flex; align-items: center; }
.search-field > .icon { position: absolute; left: 0; width: 16px; height: 16px; color: #94a3b8; pointer-events: none; }
.search-field input { padding-left: 1.4rem !important; }
.title-actions input[type=search] { min-width: 220px; }
.title-card p { margin: .15rem 0 0; font-size: .8rem; color: var(--muted); }
.crumb { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: .15rem; }
.user-chip { display: flex; align-items: center; gap: .55rem; padding: .3rem .75rem .3rem .3rem; border-radius: 999px; color: var(--secondary); font-weight: 600; font-size: .9rem; border: 1px solid transparent; transition: background .15s, border-color .15s; }
.user-chip:hover { background: #f8fafc; border-color: var(--line); text-decoration: none; }
.sidebar-links { display: flex; flex-direction: column; gap: .15rem; }
.sidebar-links form { margin: 0; }
.sidebar-links a, .sidebar-links button { display: flex; width: 100%; align-items: center; gap: .75rem; padding: .55rem .8rem; border-radius: 8px; color: #cbd5e1; font: inherit; font-size: .88rem; font-weight: 500; background: none; border: 0; cursor: pointer; text-align: left; transition: background .15s, color .15s; }
.sidebar-links a:hover, .sidebar-links button:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.sidebar-links .nav-icon { width: 18px; height: 18px; flex: 0 0 18px; opacity: .8; }
.avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #e2e8f0; box-shadow: 0 0 0 2px #fff; }
.avatar-lg { width: 96px; height: 96px; }
.avatar-row { display: flex; gap: 1.5rem; align-items: flex-start; }
.portal-main { padding: 1.5rem 2rem 3rem; width: 100%; max-width: none; animation: rise .3s ease-out; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow); }
.card-sub { margin: .15rem 0 0; font-size: .82rem; color: var(--muted); }
.card-accent { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 8%, #fff), #fff); border-color: color-mix(in srgb, var(--primary) 25%, var(--line)); }
.small { font-size: .82rem; }
.card > h3:first-child, .card > h2:first-child { margin-bottom: 1rem; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-head h3, .card-head h2 { margin: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.page-head h1 { margin: 0; font-size: 1.6rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .35rem; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: .35rem; }
.eyebrow.light { color: rgba(255,255,255,.7); }
.page-head p { margin: .25rem 0 0; color: var(--muted); }
.page-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(165px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.stat { --accent: var(--primary); position: relative; display: flex; flex-direction: column; gap: .2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem 1.1rem; color: inherit; box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.stat::after { content: ''; position: absolute; right: -30px; bottom: -50px; width: 110px; height: 110px; border-radius: 50%; background: color-mix(in srgb, var(--accent) 8%, transparent); }
.stat::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent); border-radius: 8px 0 0 4px; }
.accent-blue { --accent: #2563eb; } .accent-green { --accent: #059669; } .accent-amber { --accent: #d97706; } .accent-rose { --accent: #e11d48; } .accent-violet { --accent: #7c3aed; } .accent-cyan { --accent: #0891b2; } .accent-slate { --accent: #64748b; }
.stat:hover { text-decoration: none; box-shadow: 0 12px 28px rgba(15,23,42,.08); transform: translateY(-2px); border-color: color-mix(in srgb, var(--primary) 35%, var(--line)); }
.stat-label { font-size: .78rem; color: var(--muted); font-weight: 500; padding-right: 2.75rem; }
.stat-value { font-size: 1.65rem; font-weight: 700; color: var(--secondary); letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-sub { display: inline-flex; align-items: center; gap: .3rem; font-size: .76rem; color: var(--muted); margin-top: .2rem; }
.stat-sub.up { color: #059669; font-weight: 600; }
.stat-sub .icon { width: 14px; height: 14px; }
.stat-warning .stat-value { color: #d97706; }
.stat-warning::after { background: rgba(217,119,6,.1); }
.stat-danger .stat-value { color: #dc2626; }
.stat-danger::after { background: rgba(220,38,38,.1); }
.stat-success .stat-value { color: #059669; }
.stat-success::after { background: rgba(5,150,105,.1); }
.stat-icon { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: color-mix(in srgb, var(--accent) 12%, #fff); color: var(--accent); }
.stat-icon .icon { width: 20px; height: 20px; }
.table-wrap { overflow-x: auto; margin: 0 -.25rem; }
.table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .82rem; }
.table th { text-align: left; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; padding: .55rem .75rem; border-bottom: 1px solid var(--line); background: #f8fafc; }
.table th:first-child { border-radius: 8px 0 0 8px; } .table th:last-child { border-radius: 0 8px 8px 0; }
.table td { padding: .6rem .75rem; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover td { background: #f8fafc; }
.table tbody tr:last-child td { border-bottom: 0; }
.table td.actions form { display: inline-block; margin: .15rem .25rem 0 0; }
.table details summary { list-style: none; }
.table a { font-weight: 500; }
.row-title { display: block; color: var(--secondary); font-weight: 600; }
.row-title:hover { color: var(--primary); }
.who { display: inline-flex; align-items: center; gap: .55rem; }
.initials { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); font-size: .72rem; font-weight: 700; flex: 0 0 30px; }
.type-icon { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #f1f5f9; color: var(--muted); }
.type-icon .icon { width: 15px; height: 15px; }
.text-warning { color: #b45309; font-weight: 600; }
.empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); }
.empty .icon { width: 40px; height: 40px; opacity: .35; margin-bottom: .5rem; }
.empty p { margin: 0; }
.empty.compact { padding: 1.25rem .5rem; font-size: .88rem; }
.empty.compact .icon { width: 28px; height: 28px; }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; color: inherit; box-shadow: var(--shadow); transition: border-color .15s, transform .15s, box-shadow .15s; }
.tile:hover { text-decoration: none; border-color: var(--primary); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(15,23,42,.08); }
.tile-disabled { opacity: .55; pointer-events: none; }
.tab-nav { display: flex; gap: .25rem; margin-bottom: 1.5rem; padding: .4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow-x: auto; scrollbar-width: none; }
.tab-nav::-webkit-scrollbar { display: none; }
.tab-nav button, .tab-nav a { text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; background: none; border: 0; border-radius: 8px; padding: .6rem 1rem; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; white-space: nowrap; transition: color .15s, background .15s; }
.tab-nav button .icon, .tab-nav a .icon { width: 18px; height: 18px; }
.tab-nav button > span:has(> .icon) { display: inline-flex; }
.tab-nav button:hover, .tab-nav a:hover { color: var(--secondary); background: #f8fafc; }
.tab-nav button.active, .tab-nav a.active { color: var(--primary); background: color-mix(in srgb, var(--primary) 10%, #fff); }
.twofa-setup { display: flex; gap: 1.5rem; align-items: flex-start; flex-wrap: wrap; }
.twofa-setup img { border: 1px solid var(--line); border-radius: 8px; }
code.apikey { display: block; word-break: break-all; margin-top: .3rem; }


/* Orderpagina */
[v-cloak] { display: none; }
.right { text-align: right; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--primary); cursor: pointer; }
.link.danger { color: #dc2626; font-size: 1.2rem; line-height: 1; }
.btn-lg { padding: .9rem 1.6rem; font-size: 1.05rem; }
.btn-block { display: flex; width: 100%; }
.order-page { padding: 2rem 1.25rem 4rem; }
.order-page h1 { margin-bottom: .25rem; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; margin-top: 1.5rem; }
@media (max-width: 900px) { .order-grid { grid-template-columns: 1fr; } .order-cart { order: -1; } }
.order-page h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.2rem; margin-bottom: 1rem; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--primary); color: #fff; font-size: .85rem; }
.order-page .domain-search { margin: 0 0 1rem; max-width: none; }
.domain-result { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.tld-list { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1rem; }
.product-card { display: flex; flex-direction: column; gap: .5rem; border: 1px solid #e2e8f0; border-radius: 8px; padding: 1.1rem; background: #f8fafc; transition: box-shadow .15s, transform .15s; }
.product-card:hover { box-shadow: 0 8px 24px rgba(15,23,42,.08); transform: translateY(-2px); }
.product-card h3 { margin: 0; font-size: 1.05rem; }
.product-card p { margin: 0; font-size: .875rem; color: #475569; flex: 1; }
.product-card .usps { margin: 0; padding-left: 1.1rem; font-size: .8rem; color: #475569; }
.product-card .badge { align-self: flex-start; }
.product-card select { padding: .45rem .6rem; border: 1px solid #d3dae6; border-radius: 8px; font: inherit; font-size: .85rem; background: #fff; }
.product-price strong { font-size: 1.3rem; color: var(--secondary); }
.product-price small { color: #64748b; }
.account-options { gap: 1.5rem; }
.account-options h3 { margin-top: 0; }
.billing { display: grid; grid-template-columns: max-content 1fr; gap: .3rem 1rem; font-size: .9rem; margin: 0; }
.billing dt { color: #64748b; }
.billing dd { margin: 0; }
.pay-methods { display: grid; gap: .6rem; margin-bottom: 1.2rem; }
.pay-method { display: flex; gap: .8rem; align-items: flex-start; border: 1px solid #e2e8f0; border-radius: 8px; padding: .9rem 1rem; cursor: pointer; font-weight: 400; margin: 0; transition: border-color .15s, background .15s; }
.pay-method:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, #fff); }
.pay-method.is-disabled { opacity: .6; cursor: not-allowed; }
.pay-method input { margin-top: .3rem; }
.pay-method span { display: flex; flex-direction: column; gap: .15rem; }
.pay-method small { color: #64748b; }
.order-cart .sticky { position: sticky; top: 1rem; }
.cart-lines { list-style: none; margin: 0 0 1rem; padding: 0; }
.cart-lines li { padding: .75rem 0; border-bottom: 1px solid #f1f5f9; transition: opacity .15s; }
.cart-lines li.busy { opacity: .5; }
.cart-line-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; font-size: .9rem; }
.cart-line-opts { display: flex; align-items: center; gap: .6rem; margin-top: .4rem; font-size: .85rem; flex-wrap: wrap; }
.cart-line-opts select { padding: .3rem .5rem; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: .8rem; }
.cart-line-price { margin-left: auto; font-weight: 600; }
.cart-line-price small { font-weight: 400; color: #64748b; }
.qty { display: inline-flex; align-items: center; border: 1px solid #cbd5e1; border-radius: 8px; overflow: hidden; }
.qty button { border: 0; background: #f1f5f9; width: 1.6rem; height: 1.6rem; cursor: pointer; font: inherit; }
.qty button[disabled] { opacity: .4; cursor: default; }
.qty span { min-width: 1.6rem; text-align: center; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: .3rem 1rem; margin: 0 0 1rem; font-size: .9rem; }
.totals dd { margin: 0; text-align: right; }
.totals .grand { font-size: 1.1rem; font-weight: 700; border-top: 1px solid #e2e8f0; padding-top: .4rem; }
.order-thanks { padding: 3rem 1.25rem; max-width: 760px; }
.order-thanks .card { text-align: center; }
.order-thanks .table { text-align: left; }
.thanks-icon { width: 64px; height: 64px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; margin-bottom: 1rem; }
.thanks-icon.success { background: #d1fae5; color: #065f46; }
.thanks-icon.info { background: #dbeafe; color: #1e40af; }
.thanks-icon.warning { background: #fef3c7; color: #92400e; }
.thanks-icon.danger { background: #fee2e2; color: #991b1b; }
/* Facturen */
.invoice-doc { background: #fff; max-width: 860px; margin: 0 auto; padding: 2.5rem; border: 1px solid #e2e8f0; border-radius: 8px; }
.invoice-head { display: flex; justify-content: space-between; gap: 2rem; margin-bottom: 2rem; }
.invoice-head h1 { margin: 0 0 .5rem; }
.invoice-meta { display: grid; grid-template-columns: max-content 1fr; gap: .2rem 1rem; font-size: .9rem; }
.invoice-meta dd { margin: 0; }
.invoice-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; font-size: .9rem; }
.invoice-parties h4 { margin: 0 0 .4rem; font-size: .75rem; text-transform: uppercase; color: #64748b; }
.invoice-actions { display: flex; gap: .5rem; justify-content: flex-end; max-width: 860px; margin: 0 auto 1rem; }
@media print { .sidebar, .mobile-bar, .title-card, .invoice-actions, .alert, .topbar, .site-header, .site-footer { display: none !important; } .invoice-doc { border: 0; padding: 0; } body { background: #fff; } .portal-main, .content { margin: 0 !important; padding: 0 !important; max-width: none !important; } }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.filters a { padding: .38rem .9rem; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; color: #334155; background: #fff; font-weight: 500; transition: all .15s; }
.filters a:hover { border-color: #cbd5e1; }
.filters a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.filters a:hover { text-decoration: none; }
.actions-inline { display: flex; gap: .35rem; flex-wrap: wrap; }
.topup-amounts { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.topup-amounts label { display: block; margin: 0; }
.topup-amounts input { display: none; }
.topup-amounts span { display: inline-block; padding: .6rem 1rem; border: 1px solid #d3dae6; border-radius: 8px; cursor: pointer; font-weight: 600; }
.topup-amounts input:checked + span { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 8%, #fff); color: var(--primary); }
.amount-pos { color: #059669; font-weight: 600; }
.amount-neg { color: #dc2626; font-weight: 600; }
.price-table input { width: 100%; padding: .4rem .5rem; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: .85rem; }
.price-table td { vertical-align: middle; }
.form textarea { min-height: 96px; resize: vertical; }
.form h4 { margin: 1.5rem 0 .5rem; }
.line-editor .table input, .line-editor .table select { width: 100%; padding: .4rem .5rem; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: .85rem; }
.line-editor .table td { vertical-align: middle; }
.status-select { padding: .3rem .5rem; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; font-size: .8rem; }

/* Updates */
.details { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0 0 1rem; }
.details dt { color: var(--muted, #64748b); }
.details dd { margin: 0; }
.notes { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: .75rem 1rem; white-space: pre-wrap; font-size: .85rem; max-height: 18rem; overflow: auto; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-info { background: #dbeafe; color: #1e40af; }
.text-danger { color: #b91c1c; }
.badge-muted { background: #f1f5f9; color: #475569; }
.creds { font-family: ui-monospace, monospace; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: .15rem .45rem; }
.dns-row { display: grid; grid-template-columns: 1.3fr .7fr 2.2fr .6fr .5fr 36px; gap: .9rem; align-items: end; padding: .35rem 0; border-bottom: 1px solid #f1f5f9; }
.dns-row:last-of-type { border-bottom: 0; }
.dns-head { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #94a3b8; padding: 0 0 .25rem; border-bottom: 1px solid #e2e8f0; }
.dns-head span:not(:first-child) { padding-left: 0; }
.dns-form .dns-row .field-icon { margin: 0; }
.dns-form .dns-row .field-icon > .icon { bottom: .55rem; width: 16px; height: 16px; }
.dns-form .dns-row input, .dns-form .dns-row select { margin-top: 0; padding-top: .45rem; padding-bottom: .45rem; }
.dns-form .dns-row input[disabled] { border-bottom-style: dashed; background: transparent; }
.dns-remove { width: 36px; height: 36px; padding: 0; justify-content: center; color: #94a3b8; border-radius: 10px; }
.dns-remove:hover { color: var(--danger, #dc2626); background: #fef2f2; }
@media (max-width: 800px) {
    .dns-head { display: none; }
    .dns-row { grid-template-columns: 1fr 1fr; padding: .75rem 0; }
    .dns-row .field-icon:nth-child(3) { grid-column: 1 / -1; }
    .dns-remove { grid-column: 1 / -1; justify-self: end; margin-top: -.25rem; }
}

/* Tickets */
.ticket-thread { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1rem; }
.ticket-msg { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .9rem 1.1rem; max-width: 80%; box-shadow: var(--shadow); animation: rise .25s ease-out; }
.ticket-msg-me { align-self: flex-end; background: color-mix(in srgb, var(--primary) 8%, #fff); border-color: color-mix(in srgb, var(--primary) 25%, #fff); border-bottom-right-radius: 4px; }
.ticket-msg-staff { border-bottom-left-radius: 2px; }
.ticket-msg-staff { align-self: flex-start; }
.ticket-msg-internal { align-self: flex-end; background: #fffbeb; border-color: #fde68a; }
.ticket-msg-head { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; margin-bottom: .4rem; font-size: .9rem; }
.ticket-msg-body { white-space: pre-wrap; word-break: break-word; }
.ticket-attachment { display: inline-block; margin-top: .5rem; font-size: .9rem; }
.check { display: inline-flex; align-items: center; gap: .4rem; font-weight: normal; }
.stat-success .stat-value { color: #059669; }

/* Dashboard */
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 1.5rem; align-items: start; }
.dash-side .card, .dash-main .card { margin-bottom: 1.5rem; }
.hero-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2rem 2.25rem; margin-bottom: 1.5rem; border-radius: 8px; color: #fff; background: linear-gradient(120deg, var(--secondary) 0%, color-mix(in srgb, var(--secondary) 55%, var(--primary)) 55%, var(--primary) 100%); box-shadow: 0 18px 40px color-mix(in srgb, var(--secondary) 35%, transparent); overflow: hidden; }
.hero-card::before { content: ''; position: absolute; right: -80px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255,255,255,.08); }
.hero-card::after { content: ''; position: absolute; right: 180px; bottom: -160px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.06); }
.hero-text { position: relative; max-width: 560px; }
.hero-text h1 { color: #fff; font-size: 1.85rem; margin-bottom: .4rem; }
.hero-text p { color: rgba(255,255,255,.78); margin-bottom: 1.25rem; }
.hero-balance { position: relative; display: flex; flex-direction: column; gap: .2rem; min-width: 250px; padding: 1.25rem 1.5rem; border-radius: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px); color: #fff; transition: background .15s, transform .15s; }
.hero-balance:hover { background: rgba(255,255,255,.18); text-decoration: none; transform: translateY(-2px); }
.hero-balance .stat-label { color: rgba(255,255,255,.75); padding: 0; }
.hero-balance .stat-value { color: #fff; font-size: 2rem; }
.hero-balance .stat-sub { color: rgba(255,255,255,.75); }
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: .75rem; height: 200px; align-items: end; padding-top: .5rem; }
.bar { display: flex; flex-direction: column; align-items: center; gap: .4rem; height: 100%; }
.bar-value { font-size: .72rem; color: var(--muted); font-weight: 600; white-space: nowrap; }
.bar-track { flex: 1; width: 100%; max-width: 56px; display: flex; align-items: flex-end; border-radius: 8px; background: #f1f5f9; overflow: hidden; }
.bar-fill { width: 100%; border-radius: 8px 10px 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 70%, #fff), var(--primary)); transition: height .6s cubic-bezier(.2,.8,.2,1); animation: grow .7s ease-out both; }
.bar-current .bar-fill { background: linear-gradient(180deg, color-mix(in srgb, var(--primary) 40%, #fff), var(--primary)); box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 35%, transparent); }
.bar-label { font-size: .75rem; color: var(--muted); text-transform: capitalize; }
.bar-current .bar-label { color: var(--primary); font-weight: 700; }
@keyframes grow { from { transform: scaleY(0); transform-origin: bottom; } }
.quick-grid { display: grid; gap: .5rem; }
.quick { display: flex; align-items: center; gap: .85rem; padding: .7rem .8rem; border-radius: 8px; border: 1px solid transparent; color: inherit; transition: background .15s, border-color .15s, transform .15s; }
.quick:hover { background: #f8fafc; border-color: var(--line); text-decoration: none; transform: translateX(2px); }
.quick-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); flex: 0 0 40px; }
.quick-icon .icon { width: 20px; height: 20px; }
.quick strong { display: block; font-size: .9rem; color: var(--secondary); }
.quick small { color: var(--muted); font-size: .78rem; }
.feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.feed li { display: flex; align-items: center; gap: .8rem; padding: .65rem 0; border-bottom: 1px solid #f1f5f9; }
.feed li:last-child { border-bottom: 0; padding-bottom: 0; }
.feed li:first-child { padding-top: 0; }
.feed-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: #f1f5f9; color: var(--muted); flex: 0 0 34px; }
.feed-icon .icon { width: 16px; height: 16px; }
.feed-icon.warn { background: #fef3c7; color: #b45309; }
.feed:not(.feed-plain) .feed-icon { background: color-mix(in srgb, var(--primary) 10%, #fff); color: var(--primary); }
.feed-text { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.feed-text strong { font-size: .88rem; font-weight: 600; color: var(--secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed-text a { color: inherit; }
.feed-text small { font-size: .76rem; color: var(--muted); }
.mixbar { display: flex; height: 10px; border-radius: 999px; overflow: hidden; gap: 2px; margin: .25rem 0 1rem; }
.seg { display: block; min-width: 4px; }
.seg-amber, .dot-amber { background: #f59e0b; } .seg-rose, .dot-rose { background: #e11d48; } .seg-blue, .dot-blue { background: #2563eb; } .seg-slate, .dot-slate { background: #cbd5e1; }
.legend { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem .75rem; font-size: .84rem; color: #334155; }
.legend li { display: flex; align-items: center; gap: .45rem; }
.legend b { margin-left: auto; font-variant-numeric: tabular-nums; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; }
.kv { display: flex; justify-content: space-between; align-items: baseline; padding: .4rem 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.kv:last-of-type { border-bottom: 0; }
.kv b { font-size: 1.05rem; color: var(--secondary); }
.progress { height: 8px; border-radius: 999px; background: #e9edf5; overflow: hidden; margin: .75rem 0 .35rem; }
.progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--primary), color-mix(in srgb, var(--primary) 60%, #fff)); transition: width .6s ease; }
@media (max-width: 1180px) { .dash-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .hero-card { flex-direction: column; align-items: stretch; padding: 1.5rem; } .hero-balance { min-width: 0; } .bars { height: 160px; gap: .4rem; } .bar-value { display: none; } }

.card h2, .card h3 { letter-spacing: -.01em; }

/* Marktplaats */
.hero-compact { padding: 3.25rem 0 2.5rem; }
.market-page { padding: 1.5rem 1.25rem 4rem; }
.market-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.market-toolbar .filters a .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 .35rem; margin-left: .3rem; border-radius: 999px; background: rgba(15,23,42,.08); font-size: .72rem; font-weight: 700; }
.market-toolbar .filters a.active .count { background: rgba(255,255,255,.25); }
.market-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.market-card { display: flex; flex-direction: column; gap: .6rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 1.25rem; color: inherit; box-shadow: var(--shadow); transition: border-color .15s, transform .15s, box-shadow .15s; animation: market-in .35s ease both; position: relative; overflow: hidden; }
.market-card::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--primary); opacity: .9; }
.market-card.type-auction::before { background: #d97706; }
.market-card.type-lease::before { background: #0891b2; }
.market-card:hover { text-decoration: none; border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,23,42,.1); }
.market-card-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.market-domain { margin: 0; font-size: 1.25rem; font-weight: 700; color: var(--secondary); word-break: break-all; letter-spacing: -.01em; }
.market-desc { margin: 0; font-size: .88rem; color: var(--muted); line-height: 1.45; height: 2.9em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.market-card-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: end; gap: .75rem; margin-top: auto; padding-top: .75rem; border-top: 1px dashed var(--line); }
.market-card-foot .verified.is-hidden { visibility: hidden; }
.market-card-foot .stat-label, .market-card-foot .small, .market-card-foot .verified { white-space: nowrap; }
.market-card-head .small { min-height: 1.2em; }
.market-price { display: block; font-size: 1.2rem; font-weight: 700; color: var(--secondary); font-variant-numeric: tabular-nums; }
.verified { display: inline-flex; align-items: center; gap: .3rem; color: #059669; font-size: .8rem; font-weight: 600; }
.verified .icon { width: 15px; height: 15px; }
.market-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; margin-top: 2.5rem; background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 8%, #fff), #fff); }
.market-cta h3 { margin: 0 0 .25rem; }
.market-cta p { margin: 0; }
.market-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 1.5rem; align-items: start; }
.market-title { font-size: 2rem; margin: .5rem 0; word-break: break-all; letter-spacing: -.02em; }
.market-body { margin: 1rem 0; line-height: 1.6; }
.kv-list { margin-top: 1.25rem; }
.market-side { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: 1.5rem; }
.market-buy .stat-label { display: block; }
.market-price-lg { font-size: 2.2rem; font-weight: 700; color: var(--secondary); letter-spacing: -.02em; margin: .15rem 0 .5rem; font-variant-numeric: tabular-nums; }
.money-input { display: flex; align-items: center; border: 1px solid #d3dae6; border-radius: 8px; overflow: hidden; background: #fff; }
.money-input span { padding: 0 .8rem; color: var(--muted); font-weight: 600; background: #f8fafc; align-self: stretch; display: grid; place-items: center; border-right: 1px solid #e2e8f0; }
.money-input input { border: 0 !important; border-radius: 0 !important; flex: 1; min-width: 0; }
.money-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 18%, transparent); }
.steps-list { margin: 0; padding-left: 1.2rem; font-size: .9rem; color: #334155; display: grid; gap: .5rem; }
.center { text-align: center; }
.text-success { color: #059669; }
.verify-row td { background: #f8fafc; }
.verify-box { padding: .5rem .25rem; }
.verify-box code { display: inline-block; padding: .3rem .55rem; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: .82rem; word-break: break-all; margin: .15rem 0; }
.copy-token { cursor: pointer; }
.copy-token.copied { border-color: #059669 !important; background: #ecfdf5 !important; }
.actions-inline form { display: inline; }
[data-countdown].ending { color: #b45309; font-weight: 600; }
.market-layout { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 1.75rem; align-items: start; }
.market-search { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 2fr) auto; align-items: center; gap: 1.5rem; margin: 0; padding: 1.5rem 1.75rem; background: linear-gradient(120deg, color-mix(in srgb, var(--primary) 8%, #fff), #fff); }
.market-search h1 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .25rem; font-size: 1.5rem; letter-spacing: -.02em; }
.market-search h1 .icon { width: 26px; height: 26px; color: var(--primary); }
.market-search p { margin: 0; font-size: .9rem; }
.form .market-search .field-icon { margin: 0; }
.form .market-search .field-icon input { width: 100%; font-size: 1.05rem; }
.market-sidebar { position: sticky; top: 1.25rem; }
.market-filters { display: flex; flex-direction: column; gap: 1rem; }
.market-filter { padding: 1.1rem 1.25rem; margin-bottom: 0; }
.market-filter h4 { display: flex; align-items: center; gap: .45rem; margin: 0 0 .75rem; font-size: .95rem; color: var(--secondary); }
.market-filter h4 .icon { width: 16px; height: 16px; color: var(--primary); }
.market-filter .field-icon { margin: 0; display: block; }
.market-filter .field-icon input { width: 100%; }
.market-filter .check { margin-top: .75rem; font-size: .9rem; }
.market-filter-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .15rem; }
.market-filter-list a { display: flex; align-items: center; gap: .5rem; padding: .5rem .65rem; border-radius: 8px; color: var(--text); font-weight: 600; text-decoration: none; transition: background .15s, color .15s; }
.market-filter-list a .icon { width: 16px; height: 16px; color: var(--muted); }
.market-filter-list a .count { margin-left: auto; min-width: 22px; padding: 0 .4rem; border-radius: 999px; background: rgba(15,23,42,.06); font-size: .72rem; font-weight: 700; text-align: center; line-height: 20px; }
.market-filter-list a:hover { background: color-mix(in srgb, var(--primary) 8%, #fff); }
.market-filter-list a.active { background: var(--primary); color: #fff; }
.market-filter-list a.active .icon { color: #fff; }
.market-filter-list a.active .count { background: rgba(255,255,255,.25); }
.market-price-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; }
.market-sell p { margin: 0 0 .75rem; }
.market-main { min-width: 0; }
@media (max-width: 1000px) {
    .market-layout { grid-template-columns: 1fr; gap: 1rem; }
    .market-sidebar { position: static; }
    .market-search { grid-template-columns: 1fr; gap: .75rem; padding: 1.25rem; }
    .market-search .btn { justify-content: center; }
}
@keyframes market-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .market-detail-grid { grid-template-columns: 1fr; } .market-side { position: static; } }

.tile-grid-wide { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .tile-grid-wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .tile-grid-wide { grid-template-columns: 1fr; } }
.tile-link { display: flex; align-items: center; gap: 1rem; text-decoration: none; padding: .9rem 1.1rem; }
.tile-link .tile-head { flex: 0 0 auto; display: block; }
.tile-link .tile-body { flex: 1 1 auto; min-width: 0; }
.tile-link h3 { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.tile-link h3 .badge { font-weight: 600; }
.tile-link p { margin: .15rem 0 0; font-size: .85rem; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile-link .tile-more { display: none; }
.tile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.tile-more { margin: 0 0 0 auto; flex: 0 0 auto; white-space: nowrap; }
.tile-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
@media (max-width: 720px) { .tile-link { align-items: flex-start; } .tile-link .tile-body { flex-direction: column; align-items: flex-start; gap: .2rem; } .tile-link p { white-space: normal; } }
.tile-more { color: var(--primary); font-weight: 600; font-size: .82rem; display: inline-flex; align-items: center; gap: .3rem; margin-top: .3rem; }
.title-icon-muted { background: #e2e8f0; color: var(--muted); box-shadow: none; }
.icon-sm { width: 14px; height: 14px; }
.grid-2-wide { gap: 1.5rem; align-items: start; }
.dl { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 0 0 1rem; font-size: .92rem; }
.dl dt { color: var(--muted); font-weight: 600; }
.dl dd { margin: 0; }
.search-inline { display: inline-flex; gap: .4rem; align-items: center; }
.search-inline input { margin: 0; padding: .5rem .2rem; border: 0; border-bottom: 1.5px solid #d3dae6; border-radius: 0; font: inherit; font-size: .85rem; background: transparent; min-width: 220px; }
.search-inline input:focus { outline: none; border-bottom-color: var(--primary); }
.check-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .35rem; }
.check-row .checkbox { display: inline-flex; align-items: center; gap: .35rem; }
.price-table input { margin: 0; width: 100%; padding: .4rem .6rem; }
.price-table td { vertical-align: middle; }
.tab-nav .tab-right { margin-left: auto; }

/* Fase 6: modules */
.tab-spacer { margin-left: auto; }
.module-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.25rem; }
.module-grid .card { display: flex; flex-direction: column; margin: 0; }



.module-img { width: 100%; height: 170px; object-fit: cover; border-radius: 8px; margin-bottom: .75rem; }
.module-img-large { width: 100%; max-height: 420px; object-fit: cover; border-radius: 8px; margin: 1rem 0; }
.lead { font-size: 1.1rem; color: #475569; }
.prose { line-height: 1.7; }
.prose img { max-width: 100%; border-radius: 8px; }
.pagination { display: flex; gap: .35rem; margin: 2rem 0; }
.pagination a, .pagination span { padding: .4rem .8rem; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.pagination .active { background: var(--primary); color: #fff; border-color: var(--primary); }
.code-block { background: #0f172a; color: #e2e8f0; padding: 1rem; border-radius: 8px; font-size: .78rem; overflow-x: auto; }
.img-preview { max-height: 90px; border-radius: 8px; display: block; margin: .4rem 0; }
.form-inline { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.form-inline-stack { display: flex; flex-direction: column; gap: .5rem; }
.drag-handle { cursor: grab; color: #94a3b8; user-select: none; font-weight: 700; letter-spacing: -.2em; padding-right: .6rem; }
tr.dragging, li.dragging { opacity: .45; }
.faq-cat { margin: 2rem 0 1rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: .6rem; padding: 0 1.1rem; }
.faq-item summary { padding: .9rem 0; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; }
.faq-item summary::after { content: '+'; color: var(--primary); font-size: 1.2rem; }
.faq-item[open] summary::after { content: '–'; }
.faq-item .prose { padding-bottom: 1rem; }
.poll-option { display: flex; align-items: center; gap: .6rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 8px; margin-bottom: .5rem; cursor: pointer; }
.poll-option:hover { border-color: var(--primary); }
.poll-row { margin-bottom: .8rem; }
.poll-label { display: flex; justify-content: space-between; font-size: .9rem; margin-bottom: .3rem; }
.storing-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.storing-banner { background: #fef3c7; color: #92400e; border-bottom: 1px solid #fde68a; font-size: .9rem; }
.storing-banner .container { display: flex; align-items: center; gap: .5rem; padding-top: .5rem; padding-bottom: .5rem; }
.storing-banner a { color: inherit; text-decoration: underline; }

/* Fase 6: branding */
.bar-dark { background: var(--secondary); color: #cbd5e1; }
.bar-dark a { color: #e2e8f0; }
.bar-primary { background: var(--primary); color: #fff; }
.bar-primary a { color: #fff; }
.bar-light { background: #fff; color: #334155; border-bottom: 1px solid #e2e8f0; }
.topbar .container { justify-content: flex-start; }
.topbar-spacer { flex: 1; }
.site-header.bar-dark, .site-header.bar-primary { border-bottom: 0; }
.site-header.bar-dark .brand, .site-header.bar-primary .brand, .site-header.bar-dark .site-nav a, .site-header.bar-primary .site-nav a { color: #fff; }
.site-header.bar-dark .site-nav .nav-dropdown a, .site-header.bar-primary .site-nav .nav-dropdown a, .site-header.bar-dark .site-nav .nav-mega a, .site-header.bar-primary .site-nav .nav-mega a { color: #0f172a; }
.site-header.bar-dark .btn-ghost, .site-header.bar-primary .btn-ghost { color: #fff; border-color: rgba(255,255,255,.3); }
.site-header.bar-primary .btn-primary { background: #fff; color: var(--primary); }
.site-header { position: static; }
.site-header.is-sticky { position: sticky; }
.brand-logo { height: 40px; width: auto; max-width: 220px; object-fit: contain; }
.site-footer.bar-light { border-top: 1px solid #e2e8f0; border-bottom: 0; color: #475569; }
.site-footer.bar-light a { color: var(--secondary); }
.site-footer.bar-primary { color: rgba(255,255,255,.85); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; padding-bottom: 1.5rem; }
.footer-grid strong { display: block; margin-bottom: .6rem; color: inherit; filter: brightness(1.25); }
.footer-grid p { margin: 0; line-height: 1.7; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: .35rem; }
.footer-hours { line-height: 1.7; }
.footer-socials { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: .5rem; font-weight: 600; }
.footer-newsletter { display: flex; gap: .4rem; }
.footer-newsletter input { flex: 1; min-width: 0; padding: .5rem .7rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.2); font: inherit; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.25rem; font-size: .82rem; }
.footer-bottom p { margin: 0; }
body.btn-square .btn { border-radius: 2px; }
body.btn-pill .btn { border-radius: 999px; }
.color-field { display: flex; gap: .5rem; align-items: center; }
.color-field input[type=color] { width: 48px; height: 40px; padding: 2px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.color-field input[type=text] { flex: 1; min-width: 0; }
.type-grid .color-field input[type=color] { flex: 0 0 40px; width: 40px; }
.logo-preview { background: repeating-conic-gradient(#f1f5f9 0 25%, #fff 0 50%) 0 0/16px 16px; border: 1px solid var(--line); border-radius: 8px; padding: 1rem; display: flex; justify-content: center; margin-bottom: 1rem; }
.logo-preview img { max-height: 80px; max-width: 100%; }
.brand-preview { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; font-size: .85rem; }
.brand-preview .bp-topbar { background: var(--s); color: #cbd5e1; padding: .3rem .9rem; font-size: .72rem; text-align: right; }
.brand-preview .bp-header { display: flex; align-items: center; gap: 1rem; padding: .7rem .9rem; border-bottom: 1px solid #e2e8f0; color: var(--s); }
.brand-preview .bp-header span { color: #475569; flex: 1; }
.brand-preview .bp-header img { height: 28px; }
.brand-preview .bp-btn { flex: 0 0 auto !important; background: var(--p); color: #fff !important; padding: .35rem .8rem; border-radius: 8px; font-weight: 600; font-size: .8rem; display: inline-block; }
.brand-preview .bp-btn-s { background: var(--s); }
.brand-preview .bp-hero { padding: 1.5rem .9rem; background: linear-gradient(135deg, color-mix(in srgb, var(--p) 12%, #fff), #fff); }
.brand-preview .bp-hero h4 { margin: 0 0 .3rem; color: var(--s); font-size: 1.1rem; }
.brand-preview .bp-hero p { margin: 0 0 .8rem; color: #475569; }
.brand-preview .bp-footer { background: var(--s); color: #94a3b8; padding: .6rem .9rem; font-size: .72rem; }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { display: flex; align-items: center; gap: .5rem; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 8px; margin-bottom: .5rem; background: #fff; }
.menu-list li.is-hidden { opacity: .6; }
.menu-list .menu-title { flex: 1; }
.menu-list .menu-actions { display: flex; gap: .3rem; align-items: center; }
.menu-list .menu-actions form { display: inline; margin: 0; }
.menu-list li { display: block; }
.menu-list .menu-row { display: flex; align-items: center; gap: .5rem; }
.menu-list .menu-title strong { display: inline-flex; align-items: center; gap: .35rem; }
.menu-list .menu-list-sub { margin: .5rem 0 0 1.75rem; }
.menu-list .menu-list-sub li:last-child { margin-bottom: 0; }

/* Instellingen */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; align-items: start; }
.form-grid .span-2 { grid-column: 1 / -1; }
.form-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .form-grid-4 { grid-template-columns: 1fr 1fr; } }
.form-actions { display: flex; justify-content: flex-end; gap: .5rem; margin-top: .5rem; }
.input-unit { display: flex; align-items: center; margin-top: .3rem; }
.form .input-unit input { margin-top: 0; border-radius: 8px 0 0 8px; }
.input-unit span { padding: .65rem .8rem; border: 1px solid #d3dae6; border-left: 0; border-radius: 0 8px 8px 0; background: #f8fafc; color: var(--muted); font-size: .85rem; white-space: nowrap; }
.tier-groups { display: flex; flex-direction: column; gap: 1rem; }
.tier-group { padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 8px; }
.tier-group .form-row { margin: 0 0 .5rem; }
.tier-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: .75rem; align-items: end; }
.form .tier-row label { margin-bottom: .6rem; }
.form .tier-row .btn { margin-bottom: .6rem; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.back-link { margin: -.5rem 0 1rem; font-size: .88rem; }
.back-link a { display: inline-flex; align-items: center; gap: .3rem; color: var(--muted); font-weight: 600; }
.back-link a:hover { color: var(--primary); text-decoration: none; }

/* Modules tabel */
.text-right { text-align: right; }
.title-icon-sm { width: 40px; height: 40px; flex: 0 0 40px; }
.title-icon-sm .icon { width: 20px; height: 20px; }
.module-name { display: flex; align-items: center; gap: .75rem; color: inherit; text-decoration: none; line-height: 1.25; }
.module-name:hover strong { color: var(--primary); }
.module-desc { max-width: 320px; }
.table-actions { display: inline-flex; gap: .35rem; flex-wrap: nowrap; justify-content: flex-end; white-space: nowrap; }
.module-desc { min-width: 220px; }
.module-table td { white-space: nowrap; }
.module-table td.module-desc { white-space: normal; }
.table-actions form { display: inline; margin: 0; }

/* Update-popup */
[v-cloak] { display: none !important; }
.btn-warning { background: #f59e0b; color: #fff; }
.btn-warning:hover { background: #d97706; }
.modal-backdrop { position: fixed; inset: 0; background: rgba(15,23,42,.55); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 1rem; }
.modal { background: #fff; border-radius: var(--radius); width: min(640px, 100%); max-height: 90vh; display: flex; flex-direction: column; box-shadow: 0 24px 60px rgba(15,23,42,.3); }
.modal-head { display: flex; align-items: flex-start; gap: .85rem; padding: 1.25rem 1.25rem 1rem; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0 0 .15rem; }
.modal-head p { margin: 0; }
.modal-close { margin-left: auto; background: none; border: 0; font-size: 1.5rem; line-height: 1; color: var(--muted); cursor: pointer; }
.modal-body { padding: 1.25rem; overflow: auto; }
.modal-foot { display: flex; gap: .5rem; justify-content: flex-end; padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
.db-spinner-sm { width: 18px; height: 18px; border-width: 3px; display: inline-block; vertical-align: middle; }
.update-steps { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.update-steps li { display: flex; gap: .75rem; align-items: flex-start; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 8px; background: #f8fafc; }
.update-steps li.pending { opacity: .6; }
.update-steps li.done { border-color: #bbf7d0; background: #f0fdf4; }
.update-steps li.failed { border-color: #fecaca; background: #fef2f2; }
.update-steps .step-icon { width: 24px; height: 24px; flex: 0 0 24px; display: grid; place-items: center; font-weight: 700; }
.update-steps li.done .step-icon { color: #15803d; }
.update-steps li.failed .step-icon { color: #b91c1c; }
.update-steps ul { margin: .25rem 0 0; padding-left: 1rem; }

/* Frontend: website-pagina's */
.eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: .75rem; }
.hero-home { text-align: left; padding: 4.5rem 0 3.5rem; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, #fff) 0%, #fff 55%, color-mix(in srgb, var(--secondary) 6%, #fff) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero-home h1 { font-size: 2.8rem; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 1rem; color: var(--secondary); }
.hero-home p { margin: 0 0 1.75rem; max-width: 560px; }
.hero-home .domain-search { margin: 0; max-width: 620px; position: relative; }
.domain-search .search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.domain-search input { padding-left: 2.75rem; background: #fff; box-shadow: var(--shadow); }
.domain-search-lg { max-width: 760px; position: relative; }
.domain-search-lg input { padding: 1rem 1rem 1rem 2.75rem; font-size: 1.05rem; }
.tld-strip { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.25rem 0 0; padding: 0; font-size: .9rem; color: #475569; }
.tld-strip strong { color: var(--secondary); }
.tld-strip a { font-weight: 600; }
.hero-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1rem 1.25rem 1.25rem; transform: rotate(-1.5deg); }
.hero-panel-head { display: flex; gap: .4rem; margin-bottom: 1rem; }
.hero-panel-head .dot { width: 10px; height: 10px; border-radius: 50%; background: #e2e8f0; }
.hero-panel-row { display: flex; align-items: center; gap: .75rem; padding: .7rem .5rem; border-top: 1px solid var(--line); font-weight: 500; color: #334155; }
.hero-panel-row .icon { color: var(--primary); }
.hero-panel-row .badge { margin-left: auto; }
.section { padding: 3.5rem 1.25rem; }
.section-tight { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.section-alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-alt .container { padding: 0 1.25rem; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 2.25rem; }
.section-head h2 { font-size: 1.9rem; letter-spacing: -.01em; margin: 0 0 .5rem; color: var(--secondary); }
.section-head p { color: var(--muted); margin: 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; text-align: left; max-width: none; gap: 1rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.service-card { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; color: inherit; text-decoration: none; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); }
.service-card h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.service-card p { margin: 0 0 .6rem; color: var(--muted); font-size: .9rem; }
.service-icon { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; border-radius: var(--radius); background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); }
.service-icon .icon { width: 26px; height: 26px; }
.service-more { font-size: .85rem; font-weight: 600; color: var(--primary); }
.price-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.price-card.is-featured { border-color: var(--primary); box-shadow: 0 12px 30px color-mix(in srgb, var(--primary) 18%, transparent); }
.price-ribbon { position: absolute; top: -.7rem; left: 1.75rem; background: var(--primary); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; }
.price-type { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.price-card h3 { margin: .25rem 0 .5rem; font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--secondary); }
.price-card > p.muted { font-size: .88rem; margin: -.25rem 0 .75rem; }
.price-amount { display: flex; align-items: baseline; gap: .3rem; margin-bottom: 1rem; }
.price-amount strong { font-size: 1.9rem; letter-spacing: -.02em; color: var(--secondary); }
.price-amount span { color: var(--muted); font-size: .9rem; }
.perf { margin: .25rem 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.perf-head { display: flex; justify-content: space-between; font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: .45rem; }
.perf-bar { display: grid; grid-template-columns: repeat(10, 1fr); gap: .3rem; }
.perf-bar i { display: block; height: 6px; border-radius: 3px; background: #e5e9f0; }
.perf-low { --perf: #65c522; } .perf-mid { --perf: #c3c815; } .perf-high { --perf: #d62839; }
.perf-bar i.on { background: var(--perf); }
.perf-head b { color: var(--perf); }
.spec-list { margin: 0 0 1rem; padding: 0 0 1rem; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: .55rem; }
.spec-list div { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .9rem; }
.spec-list dt { display: flex; align-items: center; gap: .5rem; color: var(--muted); font-weight: 400; margin: 0; }
.spec-list dt .icon { color: #16a34a; }
.spec-list dd { margin: 0; font-weight: 700; color: var(--secondary); }
.price-card .usps { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-direction: column; gap: .7rem; font-size: .92rem; color: #334155; flex: 1; }
.price-card .usps li { display: flex; gap: .6rem; align-items: center; }
.price-card .usps .icon { color: #16a34a; flex: 0 0 auto; }
.price-card .btn-outline { background: #fff; color: var(--secondary); border: 2px solid var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .85rem; }
.price-card .btn-outline:hover { background: var(--secondary); color: #fff; }
.spec-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
.spec-chips .chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; background: #f1f5f9; font-size: .85rem; }
.price-form { display: flex; flex-direction: column; gap: .6rem; margin-top: auto; }
.price-form select { width: 100%; padding: .65rem .8rem; border: 1px solid #d3dae6; border-radius: var(--radius); font: inherit; background: #fff; }
.center { text-align: center; }
.price-card .center { margin: .6rem 0 0; }
.usp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.usp { text-align: center; padding: 1.5rem 1.25rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.usp > .icon { width: 34px; height: 34px; color: var(--primary); margin-bottom: .75rem; }
.usp h3 { margin: 0 0 .4rem; font-size: 1rem; }
.usp p { margin: 0; color: var(--muted); font-size: .9rem; }
.listing-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.listing-card { display: flex; flex-direction: column; gap: .3rem; padding: 1.1rem 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: #f8fafc; color: inherit; text-decoration: none; }
.listing-card:hover { border-color: var(--primary); }
.listing-card strong { font-size: 1.05rem; color: var(--secondary); word-break: break-all; }
.listing-card span { color: var(--primary); font-weight: 600; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.post-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.35rem; color: inherit; text-decoration: none; box-shadow: var(--shadow); }
.post-card h3 { margin: .35rem 0 .5rem; font-size: 1.05rem; }
.post-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.post-card:hover h3 { color: var(--primary); }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 2.25rem 2.5rem; border-radius: var(--radius); color: #fff; background: linear-gradient(120deg, var(--secondary) 0%, color-mix(in srgb, var(--secondary) 55%, var(--primary)) 60%, var(--primary) 100%); box-shadow: 0 18px 40px color-mix(in srgb, var(--secondary) 30%, transparent); }
.cta-band h2 { margin: 0 0 .4rem; font-size: 1.6rem; color: #fff; }
.cta-band p { margin: 0; color: rgba(255,255,255,.8); max-width: 560px; }
.cta-actions { display: flex; gap: .6rem; flex-shrink: 0; }
.btn-light { background: #fff; color: var(--secondary); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.page-hero { background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, #fff), #fff); border-bottom: 1px solid var(--line); padding: 3rem 0 2.5rem; }
.page-hero .container { display: flex; align-items: center; gap: 1.5rem; }
.page-hero h1 { margin: 0 0 .4rem; font-size: 2.1rem; letter-spacing: -.02em; color: var(--secondary); }
.page-hero p { margin: 0; color: #475569; max-width: 680px; }
.page-hero-icon { flex: 0 0 72px; width: 72px; height: 72px; display: grid; place-items: center; border-radius: var(--radius); background: var(--primary); color: #fff; box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 35%, transparent); }
.page-hero-icon .icon { width: 34px; height: 34px; }
.service-tabs { display: flex; gap: .25rem; flex-wrap: wrap; margin: -1.5rem 0 1rem; padding: .4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); position: relative; }
.service-tabs a { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 6px; color: #334155; font-weight: 500; font-size: .9rem; text-decoration: none; }
.service-tabs a:hover { background: #f1f5f9; }
.service-tabs a.is-active { background: var(--primary); color: #fff; }
.group-title { font-size: 1.25rem; margin: 0 0 1rem; color: var(--secondary); }
.empty-state { text-align: center; max-width: 560px; margin: 0 auto; padding: 3rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state > .icon { width: 44px; height: 44px; color: var(--primary); margin-bottom: 1rem; }
.empty-state h2 { margin: 0 0 .5rem; }
.empty-state p { color: var(--muted); margin: 0 0 1.5rem; }
.card-flat { box-shadow: none; }
.card-accent { border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); background: color-mix(in srgb, var(--primary) 6%, #fff); }
.tld-table .tld-name { font-size: 1.05rem; color: var(--secondary); }
.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 1.5rem; align-items: start; }
.contact-aside .card { margin-bottom: 1rem; }
.contact-aside h3 { margin: 0 0 .5rem; font-size: 1rem; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; margin: 0; font-size: .9rem; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; text-align: right; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .service-grid, .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .usp-grid, .listing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contact-grid { grid-template-columns: 1fr; }
    .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
    .hero-home h1 { font-size: 2.1rem; }
    .hero-home .domain-search, .domain-search-lg { flex-direction: column; }
    .service-grid, .post-grid, .usp-grid, .listing-grid { grid-template-columns: 1fr; }
    .section-head-row { flex-direction: column; align-items: flex-start; }
    .page-hero .container { flex-direction: column; align-items: flex-start; }
}

/* Keuzeopties (verzendwijze e-mail) */
.driver-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.25rem; }
.driver-option { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; background: #fff; transition: border-color .15s, box-shadow .15s; }
.driver-option:hover { border-color: #cbd5e1; }
.driver-option.is-active { border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent); }
.driver-option input { position: absolute; opacity: 0; width: 0; height: 0; }
.driver-option .driver-icon { flex: 0 0 38px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius); background: color-mix(in srgb, var(--primary) 12%, #fff); color: var(--primary); }
.driver-option strong { display: block; font-size: .9rem; }
.driver-option small { display: block; font-size: .78rem; line-height: 1.35; }
.tile-add { border-style: dashed; }
@media (max-width: 900px) { .driver-options { grid-template-columns: 1fr; } }

/* Relatiekaart met vaste tabs */
.relation-head { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.relation-title h2 { margin: 0; font-size: 1.25rem; display: flex; align-items: center; gap: .6rem; }
.relation-title p { margin: .2rem 0 0; font-size: .85rem; }
.relation-tabs { flex-wrap: wrap; overflow: visible; }
.log-table td.wrap { max-width: 520px; word-break: break-word; }
.log-table td.nowrap { white-space: nowrap; }
.log-table .badge .icon { width: 12px; height: 12px; vertical-align: -2px; }
.log-table tr.row-error td { background: #fff7f7; }
.tab-panel > .stat-grid { margin-bottom: 1.25rem; }
.tab-count { font-size: .7rem; font-weight: 600; color: var(--muted); background: #e8edf5; border-radius: 999px; padding: .05rem .45rem; }
.tab-nav button.active .tab-count { background: #fff; color: var(--primary); }
.relation-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.relation-form fieldset:disabled input, .relation-form fieldset:disabled select { border-bottom-color: #eef2f7; color: var(--secondary); cursor: default; background-image: none; }
.relation-form-actions { display: none; gap: .5rem; margin-top: 1rem; }
.relation-form.is-editing .relation-form-actions { display: flex; }

.whois-raw { background: #0f172a; color: #e2e8f0; padding: 1rem; border-radius: var(--radius); font-size: .78rem; line-height: 1.5; overflow: auto; max-height: 480px; white-space: pre-wrap; margin-top: .75rem; }

.password-field { position: relative; }
.password-field input { padding-right: 6rem !important; }
.password-tools { position: absolute; right: 0; bottom: .45rem; display: inline-flex; gap: .15rem; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 8px; background: transparent; color: #64748b; cursor: pointer; }
.icon-btn:hover { background: #eef2ff; color: var(--primary); }
.icon-btn .icon { width: 16px; height: 16px; }
.icon-btn.is-done { color: #059669; }
.perms-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .4rem 1rem; }
.perms-grid .checkbox { margin: 0; }
.danger-zone { margin-top: 1.5rem; display: flex; justify-content: flex-end; }
.form .form-actions { margin-top: 0; }
.title-card .btn, .title-card-dash .page-actions .btn { padding: .42rem .8rem; font-size: .85rem; }
.impersonate-bar { display: flex; align-items: center; gap: .75rem; padding: .6rem 1rem; margin-bottom: 1rem; border-radius: 8px; background: #fff7ed; border: 1px solid #fdba74; color: #9a3412; font-size: .88rem; }
.impersonate-bar form { margin-left: auto; }
.impersonate-bar .btn-light { background: #fff; border-color: #fdba74; color: #9a3412; }
.form-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.toggle-list { display: flex; flex-direction: column; }
.form .toggle-row, .toggle-row { display: flex; flex-direction: row; align-items: center; gap: .9rem; padding: .85rem 0; border-bottom: 1px solid #f1f5f9; cursor: pointer; margin: 0; font-weight: normal; }
.toggle-row:last-child { border-bottom: 0; }
.toggle-icon { display: inline-flex; width: 36px; height: 36px; flex: 0 0 36px; align-items: center; justify-content: center; border-radius: 10px; background: color-mix(in srgb, var(--primary) 9%, #fff); color: var(--primary); }
.toggle-icon svg { width: 18px; height: 18px; }
.toggle-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.toggle-text strong { font-size: .92rem; color: var(--secondary); }
.toggle-text small { font-size: .8rem; }
.toggle-row .switch { flex: 0 0 40px; }
.form-actions[hidden] { display: none; }
.site-footer:not(.bar-light):not(.logo-color) .brand-logo { filter: brightness(0) invert(1); }
/* Kolomindeling topbar/header/footer (branding) */
.zone-cols { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem; }
.zone-col { display: flex; align-items: center; gap: 1rem; min-width: 0; }
.zone-col-0 { justify-content: flex-start; }
.zone-col-1 { justify-content: center; }
.zone-col-2 { justify-content: flex-end; }
.topbar .zone-cols { padding-top: .35rem; padding-bottom: .35rem; }
.topbar .zone-col { gap: 1.25rem; }
.topbar a, .topbar .socials a { display: inline-flex; align-items: center; gap: .3rem; }
.topbar-menu { display: flex; gap: 1rem; }
.site-header .zone-cols { display: grid; height: 68px; }
.site-header .site-nav { flex: 0 1 auto; }
.site-header .socials { display: flex; gap: .75rem; }
.site-header .socials a { display: inline-flex; align-items: center; gap: .3rem; font-size: .85rem; color: inherit; }
.footer-col { display: flex; flex-direction: column; gap: 1.5rem; }
.footer-cols-1 { grid-template-columns: 1fr; }
.footer-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.footer-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.footer-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.footer-company .footer-brand { margin-bottom: .75rem; }
.footer-socials { display: flex; flex-wrap: wrap; gap: .4rem .9rem; font-weight: 600; }
.footer-socials strong { width: 100%; margin-bottom: 0; }
/* Kolombouwer in beheer */
.layout-builder { display: grid; gap: 1rem; }
.layout-cols { display: grid; gap: .75rem; }
.layout-col { min-height: 120px; border: 2px dashed var(--line); border-radius: var(--radius); padding: .6rem; background: #f8fafc; display: flex; flex-direction: column; gap: .4rem; }
.layout-col.over { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, #fff); }
.layout-col h5 { margin: 0 0 .25rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.layout-block { display: flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .5rem .7rem; font-size: .9rem; cursor: grab; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.layout-block .icon { color: var(--primary); }
.layout-block .x { margin-left: auto; border: 0; background: transparent; cursor: pointer; color: var(--muted); font-size: 1rem; line-height: 1; }
.layout-block.dragging { opacity: .4; }
.layout-palette { display: flex; flex-wrap: wrap; gap: .5rem; padding: .75rem; border: 1px solid var(--line); border-radius: var(--radius); }
.layout-palette .layout-block { cursor: grab; }
.type-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem 1rem; }
@media (max-width: 900px) { .type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .layout-cols { grid-template-columns: 1fr !important; } }
.switch { position: relative; display: inline-block; width: 40px; height: 22px; margin: 0; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; background: #cbd5e1; border-radius: 22px; transition: background .15s; cursor: pointer; }
.switch span::after { content: ''; position: absolute; width: 16px; height: 16px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: transform .15s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch input:checked + span { background: #059669; }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:disabled + span { opacity: .5; cursor: default; }
.hours-table td, .socials-table td { vertical-align: middle; }
.hours-table input[type=time], .socials-table input, .socials-table select { margin: 0; }
.hours-table tr.is-closed input[type=time] { opacity: .35; pointer-events: none; }
.card-head .btn { margin-left: auto; }

/* Importpagina's (Realtime Register / DirectAdmin) */
.import-bar { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: .75rem; }
.import-bar .import-search { width: 220px; margin: 0; }
.import-bar .import-margin { width: 110px; margin: 0 0 0 auto; }
.import-bar .check { margin: 0; white-space: nowrap; }
.form .import-bar input { padding: .4rem 0; }
.check-col { width: 2rem; }
.table .import-row { display: flex; align-items: flex-end; gap: .5rem; margin: 0; }
.table .import-row .field-icon { flex: 1 1 160px; min-width: 150px; margin: 0; }
.table .import-row select, .table .import-row input:not([type=hidden]) { padding: .35rem 0 .35rem 1.7rem; margin: 0; font-size: .85rem; }
.table .import-row .btn { white-space: nowrap; }

/* Paginering onder tabellen */
.pager { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0 0; font-size: .85rem; flex-wrap: wrap; }
.pager-links { display: inline-flex; gap: .2rem; align-items: center; }
.pager-links .btn { min-width: 2rem; padding: .25rem .5rem; }
.table-inline .field-icon { margin: 0; }
.table-inline .field-icon input { padding-top: .3rem; padding-bottom: .3rem; }
.flag { display: inline-flex; align-items: center; gap: .4rem; } .flag img { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }

.support-pin { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: .5rem 0 1.5rem; }
.support-pin .pin { font-size: 1.6rem; letter-spacing: .35em; padding: .5rem 1rem; background: var(--soft, #f4f6fb); border-radius: 8px; color: var(--secondary); }
.pin-check { display: flex; align-items: center; gap: .4rem; }
.pin-check .field-icon { margin: 0; }
.pin-check input { width: 7.5rem; letter-spacing: .15em; }

/* Mobiel (app-achtig): navigatie, tabellen, formulieren en tikvlakken */
.tabbar, .nav-toggle, .mobile-bar-user { display: none; }
@media (max-width: 960px) {
    .sidebar { position: fixed; left: 0; top: 0; bottom: 0; height: 100dvh; width: min(300px, 84vw); transform: translateX(-105%); transition: transform .28s cubic-bezier(.4,0,.2,1); z-index: 130; box-shadow: none; padding-bottom: max(1rem, env(safe-area-inset-bottom)); }
    .sidebar-open .sidebar { transform: none; box-shadow: 0 0 60px rgba(0,0,0,.35); }
    .sidebar-backdrop { display: block; position: fixed; inset: 0; background: rgba(15,23,42,.45); z-index: 120; opacity: 0; pointer-events: none; transition: opacity .25s; }
    .sidebar-open .sidebar-backdrop { opacity: 1; pointer-events: auto; }
    .sidebar-open { overflow: hidden; }
    .sidebar nav a, .sidebar-links a, .sidebar-links button { padding: .8rem .9rem; font-size: 1rem; }
    .sidebar-toggle { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; margin-left: -.4rem; }
    .mobile-bar { display: flex; min-height: 54px; padding: .4rem .9rem; padding-top: max(.4rem, env(safe-area-inset-top)); box-shadow: 0 1px 0 var(--line), 0 4px 16px rgba(15,23,42,.04); z-index: 100; }
    .mobile-bar strong { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 1rem; color: var(--secondary); }
    .mobile-bar-user { display: inline-flex; }
    .mobile-bar-user .avatar { width: 32px; height: 32px; box-shadow: none; }
    .portal-main { padding: 1rem .9rem calc(84px + env(safe-area-inset-bottom)); }
    .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 110; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: .3rem .25rem calc(.3rem + env(safe-area-inset-bottom)); }
    .tabbar a, .tabbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .15rem; min-height: 52px; padding: .3rem .15rem; border: 0; border-radius: 10px; background: none; font: inherit; font-size: .66rem; font-weight: 600; color: var(--muted); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
    .tabbar .nav-icon { width: 22px; height: 22px; opacity: .85; }
    .tabbar a span, .tabbar button span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .tabbar a.active { color: var(--primary); background: color-mix(in srgb, var(--primary) 9%, #fff); }
    .tabbar a.active .nav-icon { opacity: 1; }
    .user-chip span { display: none; }
    .title-card { flex-wrap: wrap; padding: .9rem 1rem; gap: .75rem; }
    .title-card > div { flex: 1; min-width: 0; }
    .title-card h1 { font-size: 1.05rem; }
    .title-card p { font-size: .8rem; }
    .title-actions { flex-basis: 100%; margin-left: 0; gap: .4rem; }
    .title-actions .btn, .title-actions form, .title-actions .search-field, .title-actions .search-inline { flex: 1 1 auto; }
    .title-actions form .btn { width: 100%; }
    .title-actions .search-field input, .title-actions .search-inline input { width: 100%; min-width: 0; }
    .page-head { flex-direction: column; align-items: stretch; }
    .card { padding: 1rem; margin-bottom: 1rem; }
    .stat-grid, .stat-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
    .stat { padding: .9rem .95rem .85rem; }
    .stat b, .stat strong { font-size: 1.2rem; }
    .tile-grid, .tile-grid-wide { grid-template-columns: 1fr; }
    .form-grid, .form-grid-3, .form-grid-4, .grid-2, .grid-3, .dash-grid, .perms-grid, .module-grid, .price-grid, .market-grid, .product-grid, [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
    .page-actions .btn { flex: 1 1 auto; }
    .domain-search { flex-direction: column; }
    .domain-search input { min-width: 0; width: 100%; }
    .form-row { flex-wrap: wrap; }
    .form-actions .btn, .modal-foot .btn { flex: 1 1 auto; }
    .form-actions, .modal-foot { flex-wrap: wrap; }
    .inline-form label { flex-basis: 100%; }
    .tab-nav { position: sticky; top: 54px; z-index: 30; margin: 0 -.9rem 1rem; padding: .4rem .9rem; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
    .tab-nav button, .tab-nav a { padding: .7rem .9rem; font-size: .88rem; scroll-snap-align: start; }
    .table-wrap { margin: 0 -1rem; padding: 0 1rem; background: linear-gradient(to right, #fff 30%, rgba(255,255,255,0)), linear-gradient(to left, #fff 30%, rgba(255,255,255,0)) 100% 0, radial-gradient(farthest-side at 0 50%, rgba(15,23,42,.14), rgba(15,23,42,0)), radial-gradient(farthest-side at 100% 50%, rgba(15,23,42,.14), rgba(15,23,42,0)) 100% 0; background-repeat: no-repeat; background-size: 40px 100%, 40px 100%, 14px 100%, 14px 100%; background-attachment: local, local, scroll, scroll; }
    .table { min-width: 560px; }
    .table th, .table td { padding: .6rem .6rem; }
    .table-actions .btn { min-height: 36px; }
    .btn { min-height: 42px; }
    .btn-sm { min-height: 36px; }
    input, select, textarea { font-size: 16px; }
    .modal-backdrop { align-items: flex-end; padding: 0; }
    .modal { width: 100%; max-height: 92dvh; border-radius: 16px 16px 0 0; }
    .impersonate-bar { flex-wrap: wrap; }
    .impersonate-bar form { margin-left: 0; flex-basis: 100%; }
    .impersonate-bar .btn { width: 100%; }
    .alert { word-break: break-word; }
    code, .mono, .apikey, .kv b { word-break: break-all; }
    .avatar-row { flex-direction: column; }
    .site-header .container { height: 60px; gap: .75rem; }
    .site-header .zone-cols { display: flex; justify-content: space-between; gap: .5rem; height: 60px; }
    .site-header .zone-col { gap: .5rem; flex: 0 1 auto; }
    .site-header .zone-col-0 { flex: 1 1 auto; }
    .site-header .zone-col .btn-primary { padding: .5rem .8rem; font-size: .85rem; }
    .site-header .zone-col .btn-ghost, .site-header .socials { display: none; }
    .topbar .zone-col:empty { display: none; }
    .topbar .zone-cols { grid-template-columns: 1fr; gap: .25rem; }
    .topbar .zone-col { justify-content: flex-start; flex-wrap: wrap; gap: .5rem .9rem; }
    .footer-grid[class*="footer-cols-"] { grid-template-columns: 1fr; }
    .site-header .brand { flex: 1; min-width: 0; font-size: .95rem; }
    .brand-logo { height: 34px; }
    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 8px; background: none; color: inherit; cursor: pointer; }
    .site-header.bar-dark .nav-toggle, .site-header.bar-primary .nav-toggle { color: #fff; border-color: rgba(255,255,255,.3); }
    .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: .5rem .9rem 1rem; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 32px rgba(15,23,42,.12); z-index: 60; }
    .nav-open .site-nav { display: flex; }
    .site-nav a { display: block; padding: .8rem .5rem; border-bottom: 1px solid #f1f5f9; font-size: 1rem; color: #0f172a; }
    .site-nav .nav-item { display: block; flex-wrap: wrap; border-bottom: 1px solid #f1f5f9; }
    .site-nav .nav-item > .nav-link { display: inline-flex; width: calc(100% - 44px); border-bottom: 0; }
    .site-nav .nav-caret { width: 44px; height: 44px; justify-content: center; vertical-align: middle; }
    .site-nav .nav-item::after { display: none; }
    .site-nav .nav-item:hover > .nav-dropdown, .site-nav .nav-item:hover > .nav-mega { display: none; }
    .site-nav .nav-item.open > .nav-dropdown, .site-nav .nav-item.open > .nav-mega { display: block; }
    .site-nav .nav-dropdown, .site-nav .nav-mega { position: static; transform: none; box-shadow: none; border: 0; padding: 0 0 .5rem .75rem; max-width: none; }
    .site-nav .dropdown-link, .site-nav .mega-link { border-bottom: 0; padding: .55rem .5rem; }
    .site-nav .mega-col > strong { padding: .5rem .5rem .2rem; }
    .site-nav a.btn { margin-top: .6rem; border-bottom: 0; text-align: center; color: #fff; }
    .nav-open .site-nav a:last-child:not(.btn) { border-bottom: 0; }
    .site-header.is-sticky { position: sticky; }
    .site-header { position: relative; }
    .topbar .container { gap: .75rem; font-size: .75rem; flex-wrap: wrap; }
    .topbar-spacer { display: none; }
    .section { padding: 2.25rem .9rem; }
    .section-head h2 { font-size: 1.5rem; }
    .footer-grid { gap: 1.25rem; }
}
@media (max-width: 480px) {
    .stat-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .title-card .title-icon { width: 40px; height: 40px; flex-basis: 40px; }
    .table-actions { flex-wrap: wrap; justify-content: flex-start; }
}
.form-subhead { display: flex; align-items: center; gap: .4rem; margin: 1rem 0 .25rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
