
:root{--bg:#f5f6f8;--panel:#fff;--text:#111827;--muted:#64748b;--border:#e2e8f0;--dark:#111827;--soft:#f1f5f9;--success:#16a34a;--warning:#f59e0b;--danger:#dc2626;--radius:24px}
*{box-sizing:border-box}html{min-height:100%}body{min-height:100vh;margin:0;font-family:Inter,Arial,sans-serif;background:var(--bg);color:var(--text);display:flex;flex-direction:column}main{flex:1;width:100%}a{text-decoration:none;color:inherit}button,input,select,textarea{font-family:inherit}
.container{max-width:1440px;margin:0 auto;padding:0 28px}.header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(14px);border-bottom:1px solid var(--border)}.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:13px}.logo{width:48px;height:48px;border-radius:17px;background:var(--dark);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:950;font-size:25px}.brand strong{display:block;font-size:24px;letter-spacing:-.05em}.brand span{font-size:12px;color:var(--muted)}.menu{display:flex;align-items:center;gap:24px;font-size:14px;font-weight:850;color:#334155}.menu a.active{color:#111827}.nav-actions{display:flex;gap:10px;align-items:center}
.btn{border:0;border-radius:14px;padding:13px 18px;font-weight:900;font-size:14px;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.btn.primary{background:var(--dark);color:white;box-shadow:0 12px 24px rgba(17,24,39,.18)}.btn.light{background:white;color:var(--text);border:1px solid var(--border)}.btn.soft{background:var(--soft);color:var(--text)}.btn.green{background:var(--success);color:white}.btn.red{background:var(--danger);color:white}.btn.full{width:100%}.btn.small{padding:9px 12px;border-radius:11px;font-size:12px}
.hero{background:linear-gradient(180deg,#fff 0%,#f8fafc 100%);border-bottom:1px solid var(--border)}.hero-grid{display:grid;grid-template-columns:1fr .92fr;gap:56px;align-items:center;padding:82px 0 56px}.kicker{display:inline-flex;border:1px solid var(--border);background:white;border-radius:999px;padding:8px 13px;font-size:12px;font-weight:950;color:#334155;margin-bottom:20px}.hero-card{background:#111827;color:white;border-radius:34px;padding:28px;box-shadow:0 30px 70px rgba(17,24,39,.22)}h1{font-size:58px;line-height:1.02;letter-spacing:-.065em;margin:0 0 22px}h2{font-size:38px;line-height:1.1;letter-spacing:-.045em;margin:0 0 12px}h3{font-size:22px;letter-spacing:-.035em;margin:0 0 8px}p{margin:0}.lead{font-size:19px;line-height:1.7;color:#475569;max-width:720px}
.card{background:white;border:1px solid var(--border);border-radius:var(--radius);padding:24px;box-shadow:0 10px 30px rgba(15,23,42,.045)}.section{padding:66px 0}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:28px}.section-head p,.muted{color:var(--muted);line-height:1.65}.tag{display:inline-flex;align-items:center;border-radius:999px;background:var(--soft);color:#334155;padding:7px 11px;font-size:12px;font-weight:950}.tag.dark{background:var(--dark);color:white}.tag.green{background:#dcfce7;color:#15803d}.tag.orange{background:#ffedd5;color:#c2410c}.tag.red{background:#fee2e2;color:#b91c1c}
.category-bar{display:flex;gap:10px;flex-wrap:wrap}.category-link{border:1px solid var(--border);background:white;border-radius:999px;padding:10px 14px;font-weight:900;font-size:13px}.category-link.active{background:var(--dark);color:white;border-color:var(--dark)}
.products{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.product{display:flex;flex-direction:column;min-height:410px}.product-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin-bottom:18px}.icon{width:56px;height:56px;border-radius:19px;background:var(--soft);display:flex;align-items:center;justify-content:center;font-size:28px}.features{list-style:none;padding:0;margin:16px 0 22px;color:#334155;font-size:14px;line-height:1.9}.features li:before{content:"✓ ";font-weight:950;color:var(--success)}.price-row{margin-top:auto;display:flex;justify-content:space-between;align-items:flex-end;gap:16px}.price{font-size:32px;font-weight:950;letter-spacing:-.05em}.vat{font-size:12px;color:var(--muted);font-weight:800;margin-top:2px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:22px}.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.line{display:flex;justify-content:space-between;gap:12px;padding:13px 0;border-bottom:1px solid var(--border);font-size:14px}.total{display:flex;justify-content:space-between;gap:12px;margin:18px 0;font-size:22px;font-weight:950}.field{display:flex;flex-direction:column;gap:7px}label{font-size:13px;font-weight:900;color:#334155}input,select,textarea{width:100%;border:1px solid #cbd5e1;border-radius:14px;padding:13px 14px;background:white;font-size:14px;outline:none}textarea{min-height:110px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#111827;box-shadow:0 0 0 4px rgba(17,24,39,.08)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field.full{grid-column:1/-1}
.quick-list{display:grid;gap:12px}.quick-item{border:1px solid var(--border);background:#f8fafc;border-radius:18px;padding:16px;display:flex;justify-content:space-between;gap:14px;align-items:center}.notice{border-radius:20px;padding:18px;background:#fffbeb;border:1px solid #fde68a;color:#92400e;font-weight:800}.info-box{border-radius:20px;padding:18px;background:#f8fafc;border:1px solid var(--border);color:#334155;font-weight:800}.table-wrap{overflow:auto;border:1px solid var(--border);border-radius:20px;background:white}table{width:100%;border-collapse:collapse;background:white;font-size:14px;min-width:760px}th,td{padding:14px;border-bottom:1px solid var(--border);text-align:left;vertical-align:middle}th{background:#f8fafc;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.08em}tr:last-child td{border-bottom:0}
.payment-options{display:grid;gap:14px}.payment-option{border:2px solid var(--border);border-radius:22px;padding:18px;background:white;display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;cursor:pointer}.payment-option:hover,.payment-option.active{border-color:#111827;box-shadow:0 14px 30px rgba(17,24,39,.08)}.pay-icon{width:48px;height:48px;border-radius:17px;background:#111827;color:white;display:flex;align-items:center;justify-content:center;font-weight:950}.radio-dot{width:18px;height:18px;border:2px solid #111827;border-radius:50%;box-shadow:inset 0 0 0 4px white;background:#111827}
.auth-wrap{max-width:980px;margin:0 auto;padding:60px 0}.auth-card{display:grid;grid-template-columns:1fr 1fr;gap:0;overflow:hidden;border-radius:30px;border:1px solid var(--border);background:white;box-shadow:0 20px 45px rgba(15,23,42,.06)}.auth-side{background:#111827;color:white;padding:38px}.auth-form{padding:38px}
.account-layout,.admin-layout{display:grid;grid-template-columns:285px 1fr;gap:24px;align-items:start}.sidebar{background:#111827;border-radius:28px;padding:18px;color:white;min-height:680px;position:sticky;top:96px}.side-title{padding:10px 12px 20px}.side-title strong{font-size:23px}.side-title p{font-size:13px;color:#cbd5e1;margin-top:6px}.side-item{display:block;padding:14px;border-radius:15px;color:#cbd5e1;font-weight:850;margin-bottom:6px}.side-item.active,.side-item:hover{background:rgba(255,255,255,.14);color:white}.wide-panel{background:white;border:1px solid var(--border);border-radius:30px;padding:26px;box-shadow:0 14px 35px rgba(15,23,42,.045);margin-bottom:22px}.order-layout{display:grid;grid-template-columns:380px 1fr;gap:24px;align-items:start}.order-card{border:1px solid var(--border);background:white;border-radius:22px;padding:18px;display:block;margin-bottom:12px}.order-card.active{border-color:#111827;box-shadow:0 12px 28px rgba(17,24,39,.08)}
.keybox{background:#f8fafc;border:1px dashed #94a3b8;border-radius:22px;padding:24px;margin:18px 0}.key-label{font-size:12px;color:#64748b;font-weight:950;text-transform:uppercase;letter-spacing:.12em}.key-text{margin-top:10px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:21px;letter-spacing:.07em;font-weight:900;word-break:break-all}.actions-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.admin-top{background:#111827;color:white}.admin-top .nav{min-height:68px}.admin-top a{color:white}.admin-section-title{display:flex;justify-content:space-between;gap:18px;align-items:flex-end;flex-wrap:wrap;margin-bottom:16px}.search-box{max-width:360px;width:100%}.status-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:18px 0}.status-card{background:#f8fafc;border:1px solid var(--border);border-radius:22px;padding:20px}.status-card strong{display:block;font-size:28px;letter-spacing:-.04em}
.footer{margin-top:auto;padding:26px 0;border-top:1px solid var(--border);background:white;color:#64748b;font-size:14px}.footer-inner{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;align-items:center}
.invoice-page{background:white;max-width:1180px;width:calc(100% - 40px);margin:40px auto;padding:38px 40px;border:1px solid #e2e8f0;border-radius:22px}.invoice-top{display:flex;justify-content:space-between;gap:30px;align-items:flex-start;border-bottom:2px solid #111827;padding-bottom:24px;margin-bottom:24px}.invoice-logo{width:56px;height:56px;border-radius:18px;background:#111827;color:white;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:950}.print-actions{max-width:1180px;width:calc(100% - 40px);margin:20px auto 0;display:flex;justify-content:flex-end;gap:10px}@media print{.header,.footer,.print-actions{display:none!important}body{background:white}.invoice-page{border:0;margin:0;max-width:100%;width:100%;border-radius:0;padding:18px 20px}}
@media(max-width:1100px){.hero-grid,.grid-2,.account-layout,.admin-layout,.order-layout,.auth-card{grid-template-columns:1fr}.products,.grid-3,.grid-4,.status-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.sidebar{position:static;min-height:auto}.actions-row{grid-template-columns:1fr}h1{font-size:40px}h2{font-size:30px}.menu{display:none}.nav-actions{display:none}}

.choice-card{max-width:760px;margin:60px auto}
.choice-actions{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
.coupon-box{display:grid;grid-template-columns:1fr auto;gap:10px;margin-top:16px}
.payment-option input{display:block;width:18px;height:18px;margin:0}
.payment-option:has(input:checked){border-color:#111827;box-shadow:0 14px 30px rgba(17,24,39,.08)}
.customer-block{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px}
@media(max-width:1100px){.choice-actions,.customer-block{grid-template-columns:1fr}.coupon-box{grid-template-columns:1fr}}

.dashboard-hero{background:#111827;color:white;border-radius:32px;padding:30px;margin-bottom:22px;display:flex;justify-content:space-between;gap:24px;align-items:flex-end;flex-wrap:wrap}
.dashboard-hero p{color:#cbd5e1}
.metric-row{display:grid;grid-template-columns:repeat(6,1fr);gap:16px;margin-bottom:22px}
.metric-card{background:white;border:1px solid var(--border);border-radius:24px;padding:20px;box-shadow:0 10px 30px rgba(15,23,42,.045)}
.metric-card span{display:block;color:var(--muted);font-weight:800;font-size:13px}
.metric-card strong{display:block;font-size:28px;letter-spacing:-.05em;margin-top:6px}
.admin-grid-links{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.admin-link-card{background:#f8fafc;border:1px solid var(--border);border-radius:22px;padding:20px;display:block}
.admin-link-card strong{display:block;font-size:18px;margin-bottom:6px}
.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
.filter-pill{border:1px solid var(--border);background:white;border-radius:999px;padding:10px 14px;font-weight:900;font-size:13px}
.filter-pill.active{background:#111827;color:white;border-color:#111827}
.inline-edit{display:grid;grid-template-columns:1.1fr 1.6fr 1.2fr 1.2fr auto;gap:10px;align-items:center}
.inline-edit input,.inline-edit select{padding:10px;border-radius:12px}
.table-actions{display:flex;gap:8px;flex-wrap:wrap}
.bookkeeping-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;margin:18px 0}
.bookkeeping-card{background:#f8fafc;border:1px solid var(--border);border-radius:22px;padding:20px}
.bookkeeping-card strong{display:block;font-size:28px;letter-spacing:-.05em;margin-top:6px}
.month-select{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-top:18px}
.customer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.customer-card{background:white;border:1px solid var(--border);border-radius:24px;padding:20px;box-shadow:0 10px 30px rgba(15,23,42,.045)}
.calendar-box{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:8px}
.calendar-day{background:#f8fafc;border:1px solid var(--border);border-radius:14px;padding:12px;text-align:center;font-weight:900}
.calendar-day.active{background:#111827;color:white}
.time-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.time-slot{border:1px solid var(--border);background:white;border-radius:14px;padding:12px;font-weight:900;text-align:center}
.time-slot.active{background:#111827;color:white;border-color:#111827}
@media(max-width:1100px){.metric-row,.admin-grid-links,.bookkeeping-grid,.customer-grid,.calendar-box{grid-template-columns:1fr}.inline-edit{grid-template-columns:1fr}.time-slots{grid-template-columns:1fr 1fr}}

.permission-grid{display:grid;grid-template-columns:1.1fr repeat(5,1fr);gap:10px;align-items:center}
.permission-head{font-weight:950;color:#64748b;font-size:12px;text-transform:uppercase;letter-spacing:.08em}
.permission-cell{background:#f8fafc;border:1px solid var(--border);border-radius:14px;padding:13px}
.permission-cell input{width:auto}
.cost-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:18px 0}
.cost-card{background:#f8fafc;border:1px solid var(--border);border-radius:22px;padding:20px}
.cost-card strong{display:block;font-size:26px;letter-spacing:-.04em;margin-top:6px}
.click-calendar a,.click-times a{display:block;text-align:center}
.contact-form-card{max-width:920px;margin-top:24px}
@media(max-width:1100px){.permission-grid,.cost-grid{grid-template-columns:1fr}.permission-head{display:none}}

.invoice-address-note{margin-top:18px}

.existing-customer-box{border:1px solid var(--border);background:#f8fafc;border-radius:22px;padding:18px;margin-bottom:18px;display:flex;justify-content:space-between;gap:18px;align-items:center;flex-wrap:wrap}
.success-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px;margin-top:22px}
.success-card{background:white;border:1px solid var(--border);border-radius:24px;padding:22px;box-shadow:0 10px 30px rgba(15,23,42,.045)}
.email-preview{background:#f8fafc;border:1px solid var(--border);border-radius:22px;padding:20px;margin-top:14px}
.email-preview h4{margin:0 0 10px;font-size:16px}
.email-preview p{color:#475569;line-height:1.6}
.mail-status{display:inline-flex;background:#dcfce7;color:#15803d;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:950}
@media(max-width:1100px){.success-grid{grid-template-columns:1fr}}

.admin-message{background:#dcfce7;color:#15803d;border:1px solid #bbf7d0;border-radius:18px;padding:14px 16px;font-weight:900;margin-bottom:18px}
.admin-warning{background:#fff7ed;color:#c2410c;border:1px solid #fed7aa;border-radius:18px;padding:14px 16px;font-weight:900;margin-bottom:18px}
.customer-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.customer-action-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.role-badge{display:inline-flex;border-radius:999px;padding:6px 10px;background:#f1f5f9;color:#334155;font-size:12px;font-weight:950}
@media(max-width:1100px){.customer-detail-grid{grid-template-columns:1fr}}

.brand-logo-img{height:52px;width:auto;display:block}
.admin-brand-logo-img{height:48px;width:auto;display:block;background:white;border-radius:14px;padding:6px}
.email-logo-preview{max-width:320px;width:100%;height:auto;display:block;margin-bottom:16px}
.invoice-brand-logo{height:70px;width:auto;display:block}
@media(max-width:700px){.brand-logo-img{height:42px}.admin-brand-logo-img{height:42px}}

.month-overview-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:18px 0}
.month-card{background:white;border:1px solid var(--border);border-radius:24px;padding:20px;box-shadow:0 10px 30px rgba(15,23,42,.045)}
.month-card h3{margin-bottom:14px}
.month-line{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--border);font-size:14px}
.month-line:last-child{border-bottom:0}
.month-profit{font-size:24px;font-weight:950;letter-spacing:-.04em}
@media(max-width:1100px){.month-overview-grid{grid-template-columns:1fr}}

.category-admin-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr 1.4fr;gap:12px;align-items:center}
.category-admin-row{display:contents}
.export-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}
.price-split{display:grid;gap:4px;text-align:right}
.price-split span{font-size:12px;color:#64748b;font-weight:800}
.price-split strong{font-size:15px}
@media(max-width:1100px){.category-admin-grid{grid-template-columns:1fr}.category-admin-row{display:block;background:white;border:1px solid var(--border);border-radius:18px;padding:14px}.price-split{text-align:left}}

.customer-toolbar{display:grid;grid-template-columns:1.4fr .7fr .7fr auto;gap:12px;align-items:end;margin:18px 0}
.pagination{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:wrap;margin-top:18px}
.pagination a,.pagination span{border:1px solid var(--border);background:white;border-radius:12px;padding:9px 12px;font-weight:900;font-size:13px}
.pagination .active{background:#111827;color:white;border-color:#111827}
.customer-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}
.customer-stat{background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:16px}
.customer-stat strong{display:block;font-size:24px;letter-spacing:-.04em}
.permission-user-row{display:grid;grid-template-columns:1.4fr repeat(5,1fr) auto;gap:10px;align-items:center;border-bottom:1px solid var(--border);padding:14px 0}
.permission-user-row:last-child{border-bottom:0}
.permission-user-head{font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;color:#64748b}
.permission-check{display:flex;justify-content:center}
.permission-check input{width:auto}
.permission-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.permission-info-card{background:#f8fafc;border:1px solid var(--border);border-radius:22px;padding:20px}
.admin-logo-note{background:#dcfce7;color:#15803d;border:1px solid #bbf7d0;border-radius:18px;padding:14px 16px;font-weight:900;margin-bottom:18px}
@media(max-width:1100px){
  .customer-toolbar,.customer-stats,.permission-info-grid{grid-template-columns:1fr}
  .permission-user-row{grid-template-columns:1fr}
  .permission-user-head{display:none}
  .permission-check{justify-content:flex-start}
}

.license-stock-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:18px 0}
.license-stock-card{background:#f8fafc;border:1px solid var(--border);border-radius:22px;padding:18px}
.license-stock-card h3{font-size:18px;margin-bottom:12px}
.stock-lines{display:grid;gap:8px}
.stock-line{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid var(--border);padding-bottom:8px;font-size:14px}
.stock-line:last-child{border-bottom:0;padding-bottom:0}
.license-product-filter{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:16px 0}
.license-product-option{border:1px solid var(--border);background:white;border-radius:16px;padding:13px;display:flex;gap:10px;align-items:center;font-weight:900}
.license-product-option input{width:auto}
.bulk-actions{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
@media(max-width:1100px){.license-stock-grid,.license-product-filter{grid-template-columns:1fr}}

/* v24 checkout prijsweergave en login-return */

.price-split{
  display:flex;
  flex-direction:column;
  gap:3px;
  align-items:flex-end;
  min-width:120px;
  line-height:1.25;
}
.price-split .ex-vat{
  font-size:12px;
  color:#64748b;
  font-weight:800;
  white-space:nowrap;
}
.price-split .inc-vat{
  font-size:15px;
  color:#111827;
  font-weight:950;
  white-space:nowrap;
}
.checkout-login-return{
  border:1px solid var(--border);
  background:#f8fafc;
  border-radius:22px;
  padding:18px;
  margin-bottom:18px;
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  flex-wrap:wrap;
}
.logged-in-box{
  border:1px solid #bbf7d0;
  background:#dcfce7;
  color:#15803d;
  border-radius:22px;
  padding:18px;
  margin-bottom:18px;
  font-weight:850;
}
.readonly-field{
  background:#f8fafc;
  color:#334155;
}
@media(max-width:700px){
  .price-split{align-items:flex-start;min-width:0}
}

.license-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin-top:18px}
.license-info-box{background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:16px}
.license-info-box span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:6px}
.license-info-box strong{font-size:16px}
.product-note{background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:16px;color:#334155;font-weight:800;line-height:1.55}
@media(max-width:900px){.license-info-grid{grid-template-columns:1fr}}

.vat-note{display:inline-flex;align-items:center;background:#f8fafc;border:1px solid var(--border);border-radius:999px;padding:8px 12px;color:#334155;font-size:12px;font-weight:900}
.report-page{background:#f8fafc;min-height:100vh;padding:32px}
.report-sheet{max-width:1120px;margin:0 auto;background:white;border:1px solid #e2e8f0;border-radius:24px;padding:38px;box-shadow:0 18px 45px rgba(15,23,42,.08)}
.report-header{display:flex;justify-content:space-between;gap:28px;align-items:flex-start;border-bottom:3px solid #111827;padding-bottom:22px;margin-bottom:26px}
.report-logo{height:58px;width:auto;display:block;margin-bottom:14px}
.report-title h1{font-size:32px;margin:0 0 8px;letter-spacing:-.04em}
.report-title p{color:#64748b;line-height:1.55}
.report-meta{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px;min-width:260px}
.report-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}
.report-kpi{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px}
.report-kpi span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.report-kpi strong{display:block;font-size:24px;margin-top:7px;letter-spacing:-.04em}
.report-section{margin-top:28px}
.report-section h2{font-size:22px;margin:0 0 12px}
.report-table{width:100%;border-collapse:collapse;font-size:13px}
.report-table th{background:#111827;color:white;padding:11px;text-align:left}
.report-table td{border-bottom:1px solid #e2e8f0;padding:11px;vertical-align:top}
.report-table tr:nth-child(even) td{background:#f8fafc}
.report-total{background:#111827;color:white;border-radius:18px;padding:18px;margin-top:24px;display:flex;justify-content:space-between;gap:18px;align-items:center}
.report-total strong{font-size:28px}
.report-actions{max-width:1120px;margin:0 auto 18px;display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}
.email-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.email-choice{border:1px solid var(--border);background:#f8fafc;border-radius:18px;padding:16px;display:flex;gap:12px;align-items:center;font-weight:900}
.email-choice input{width:auto}
.daily-report-preview{background:#f8fafc;border:1px solid var(--border);border-radius:22px;padding:20px;margin-top:16px}
.coupon-edit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;align-items:end}
.coupon-edit-grid .field input,.coupon-edit-grid .field select{padding:10px;border-radius:12px}
.usage-pill{display:inline-flex;border-radius:999px;background:#f1f5f9;color:#334155;padding:6px 10px;font-size:12px;font-weight:950}
.order-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.order-status-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:16px}
.order-step{border:1px solid var(--border);background:#f8fafc;border-radius:16px;padding:14px;font-weight:900}
.order-step.active{background:#dcfce7;color:#15803d;border-color:#bbf7d0}
.appointment-list{display:grid;gap:12px}
.appointment-card{border:1px solid var(--border);background:white;border-radius:20px;padding:18px;display:grid;grid-template-columns:1fr auto;gap:16px;align-items:center}
.appointment-date-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:8px;margin-top:14px}
.appointment-date{border:1px solid var(--border);background:#f8fafc;border-radius:14px;padding:12px;text-align:center;font-weight:900;display:block}
.appointment-date.active{background:#111827;color:white;border-color:#111827}
.appointment-note{background:#eff6ff;border:1px solid #bfdbfe;color:#1d4ed8;border-radius:20px;padding:18px;font-weight:850;line-height:1.6}
@media(max-width:900px){.report-kpis,.email-settings-grid,.coupon-edit-grid,.order-admin-grid,.order-status-flow{grid-template-columns:1fr}.report-header{flex-direction:column}.report-page{padding:14px}.report-sheet{padding:22px}.report-actions{justify-content:flex-start}.appointment-card{grid-template-columns:1fr}.appointment-date-grid{grid-template-columns:1fr 1fr}}
@media print{.header,.footer,.report-actions{display:none!important}.report-page{padding:0;background:white}.report-sheet{max-width:100%;border:0;border-radius:0;box-shadow:none;padding:20px}.report-kpis{grid-template-columns:repeat(4,1fr)}}

.order-success-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;align-items:start}
.success-hero{background:white;border:1px solid var(--border);border-radius:30px;padding:32px;box-shadow:0 14px 35px rgba(15,23,42,.045)}
.success-check{width:58px;height:58px;border-radius:20px;background:#dcfce7;color:#15803d;display:flex;align-items:center;justify-content:center;font-size:28px;font-weight:950;margin-bottom:18px}
.success-order-box{background:#f8fafc;border:1px solid var(--border);border-radius:22px;padding:20px;margin-top:20px}
.success-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.next-steps{display:grid;gap:12px;margin-top:18px}
.next-step{display:grid;grid-template-columns:auto 1fr;gap:12px;background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:16px}
.next-step-number{width:30px;height:30px;border-radius:999px;background:#111827;color:white;display:flex;align-items:center;justify-content:center;font-weight:950}
.email-sent-list{display:grid;gap:12px;margin-top:14px}
.email-sent-item{background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:16px;display:flex;gap:12px;align-items:flex-start}
.email-sent-icon{width:34px;height:34px;border-radius:12px;background:#dcfce7;color:#15803d;display:flex;align-items:center;justify-content:center;font-weight:950;flex:0 0 auto}
@media(max-width:1100px){.order-success-layout{grid-template-columns:1fr}}

.support-addon-grid{display:grid;grid-template-columns:1fr;gap:12px;margin-top:14px}
.support-addon-card{border:1px solid var(--border);background:#f8fafc;border-radius:20px;padding:16px;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}
.support-addon-card.selected{border-color:#16a34a;background:#dcfce7}
.support-addon-title{display:flex;gap:10px;align-items:flex-start}
.support-addon-icon{width:42px;height:42px;border-radius:15px;background:#111827;color:white;display:flex;align-items:center;justify-content:center;font-weight:950;flex:0 0 auto}
.support-addon-price{font-weight:950;font-size:18px;text-align:right}
.support-addon-actions{display:flex;gap:8px;align-items:center;justify-content:flex-end;margin-top:8px}
@media(max-width:700px){.support-addon-card{grid-template-columns:1fr}.support-addon-price{text-align:left}.support-addon-actions{justify-content:flex-start}}

/* v32 verbeterde bedankpagina */
.success-wrap{max-width:1080px;margin:0 auto}
.success-main-card{background:white;border:1px solid var(--border);border-radius:34px;padding:34px;box-shadow:0 18px 45px rgba(15,23,42,.06)}
.success-top{display:grid;grid-template-columns:auto 1fr;gap:18px;align-items:start}
.success-icon-big{width:64px;height:64px;border-radius:22px;background:#dcfce7;color:#15803d;display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:950}
.success-main-card h1{font-size:44px;letter-spacing:-.05em;margin:8px 0 10px}
.success-subtext{color:#475569;font-size:17px;line-height:1.7;max-width:760px}
.success-order-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:26px}
.success-summary-item{background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:16px}
.success-summary-item span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:7px}
.success-summary-item strong{font-size:15px}
.success-cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:26px}
.success-panel-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:22px}
.success-clean-panel{background:white;border:1px solid var(--border);border-radius:28px;padding:26px;box-shadow:0 12px 35px rgba(15,23,42,.045)}
.clean-list{display:grid;gap:12px;margin-top:16px}
.clean-item{display:grid;grid-template-columns:auto 1fr;gap:12px;background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:15px}
.clean-number,.clean-check{width:32px;height:32px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:950}
.clean-number{background:#111827;color:white}
.clean-check{background:#dcfce7;color:#15803d}
.appointment-clean{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:24px;padding:22px;margin-top:22px}
@media(max-width:1000px){.success-order-summary,.success-panel-grid{grid-template-columns:1fr}.success-top{grid-template-columns:1fr}.success-main-card h1{font-size:34px}}

.invoice-party-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin:26px 0}
.invoice-party-box{background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:18px;line-height:1.55}
.invoice-party-box h3{margin:0 0 10px;font-size:18px}
.invoice-party-box p{margin:0;color:#334155}
.invoice-company-box{text-align:right}
.invoice-company-box strong{font-size:18px;color:#111827}
@media(max-width:800px){.invoice-party-grid{grid-template-columns:1fr}.invoice-company-box{text-align:left}}

.email-settings-status{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:18px 0}
.email-status-card{background:#f8fafc;border:1px solid var(--border);border-radius:20px;padding:18px}
.email-status-card span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.email-status-card strong{display:block;font-size:20px;margin-top:6px}
.smtp-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.mail-toggle-list{display:grid;gap:12px;margin-top:14px}
.mail-toggle-item{background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:16px;display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center}
.mail-toggle-item input{width:auto}
.email-log-table td{vertical-align:top}
@media(max-width:900px){.email-settings-status,.smtp-grid{grid-template-columns:1fr}.mail-toggle-item{grid-template-columns:1fr}}

/* v37 support in winkelwagen */

.support-cart-box{
  border-top:1px solid var(--border);
  padding-top:18px;
}
.support-cart-box h3{
  margin-bottom:6px;
}
.support-addon-card{
  margin-top:10px;
}


/* v38 zichtbare supportkaart in winkelwagen */
.support-cart-box{
  align-self:start;
}
.support-cart-box .support-addon-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:14px;
}
.support-cart-box .support-addon-card{
  margin-top:0;
}
@media(min-width:1000px){
  .support-cart-box{
    grid-column:1 / 2;
  }
}


/* v39 support boven winkelwagen */
.support-before-cart{
  margin-bottom:18px;
}
.support-before-cart .support-addon-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:14px;
}
.support-before-cart .support-addon-card{
  margin-top:0;
}
.support-before-cart .support-addon-price{
  font-size:18px;
}


/* v40 uitgesplitste orderregels */
.line span{
  line-height:1.35;
}


/* v42 support onder producten in winkelwagen */
.support-inline-box{
  border-top:1px solid var(--border);
  margin-top:18px;
  padding-top:18px;
}
.support-inline-box h3{
  margin-bottom:4px;
}
.support-inline-box .support-addon-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:12px;
}
.support-inline-box .support-addon-card{
  margin-top:0;
  background:#f8fafc;
}
.support-inline-box .support-addon-price{
  font-size:17px;
}
.support-before-cart{
  display:none!important;
}


/* v43 winkelwagen hersteld */
.support-inline-box{
  border-top:1px solid var(--border);
  margin-top:18px;
  padding-top:18px;
}
.support-inline-box h3{margin-bottom:4px}
.support-inline-box .support-addon-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  margin-top:12px;
}
.support-inline-box .support-addon-card{
  margin-top:0;
  background:#f8fafc;
}
.support-inline-box .support-addon-price{
  font-size:17px;
}


/* v45 order en afspraak verbeteringen */
.locked-delivery-box{background:#fff7ed;border:1px solid #fed7aa;color:#9a3412;border-radius:20px;padding:18px;margin-top:18px;font-weight:850;line-height:1.55}
.admin-payment-box{background:#f8fafc;border:1px solid var(--border);border-radius:22px;padding:20px;margin-top:18px}
.appointment-mail-note{background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:14px;margin-top:12px;font-weight:850;color:#334155}


/* v46 admin knoppen, afspraken en rapportages */
.inline-form{display:inline-flex;margin:0}
.clean-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.status-message-inline{background:#dcfce7;color:#15803d;border:1px solid #bbf7d0;border-radius:16px;padding:12px 14px;font-weight:900;margin-bottom:16px}
.status-message-warning{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa;border-radius:16px;padding:12px 14px;font-weight:900;margin-bottom:16px}
.appointment-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.appointment-status-confirmed{background:#dcfce7;color:#15803d;border:1px solid #bbf7d0}
.appointment-status-declined{background:#fee2e2;color:#991b1b;border:1px solid #fecaca}
.appointment-status-pending{background:#fff7ed;color:#9a3412;border:1px solid #fed7aa}
.appointment-status-box{border-radius:18px;padding:16px;font-weight:850;line-height:1.55}
.report-filter-bar{max-width:1120px;margin:0 auto 18px;background:white;border:1px solid #e2e8f0;border-radius:18px;padding:14px;display:flex;gap:10px;align-items:end;justify-content:space-between;flex-wrap:wrap}
.report-filter-bar form{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:0}
.report-filter-bar .field{min-width:170px}
.report-type-cards{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:18px}
.report-type-card{background:#f8fafc;border:1px solid var(--border);border-radius:22px;padding:20px}
.report-type-card h3{margin-bottom:8px}
.a4-sheet{width:210mm;min-height:297mm;margin:0 auto;background:white;border:1px solid #e2e8f0;border-radius:12px;padding:16mm;box-shadow:0 18px 45px rgba(15,23,42,.08)}
.a4-sheet .report-header{margin-bottom:18px}
.a4-sheet .report-logo{height:44px}
.a4-sheet .report-title h1{font-size:25px}
.a4-sheet .report-title p{font-size:12px}
.a4-sheet .report-meta{font-size:12px;padding:12px}
.a4-sheet .report-kpis{gap:8px;margin:16px 0}
.a4-sheet .report-kpi{padding:11px;border-radius:12px}
.a4-sheet .report-kpi strong{font-size:18px}
.a4-sheet .report-section{margin-top:18px}
.a4-sheet .report-section h2{font-size:17px;margin-bottom:8px}
.a4-sheet .report-table{font-size:11px}
.a4-sheet .report-table th,.a4-sheet .report-table td{padding:7px}
.a4-sheet .report-total{padding:12px;border-radius:12px;margin-top:14px}
.a4-sheet .report-total strong{font-size:20px}
.report-subtitle{display:inline-flex;background:#eef2ff;border:1px solid #c7d2fe;color:#3730a3;border-radius:999px;padding:7px 11px;font-weight:950;font-size:12px;margin-top:8px}
@media(max-width:1000px){.appointment-admin-grid,.report-type-cards{grid-template-columns:1fr}.a4-sheet{width:auto;min-height:auto;padding:22px}.report-filter-bar{margin:0 14px 18px}}
@media print{
  @page{size:A4;margin:10mm}
  body{background:white!important}
  .report-filter-bar,.report-actions,.header,.footer{display:none!important}
  .report-page{padding:0;background:white}
  .a4-sheet{width:190mm;min-height:auto;margin:0;border:0;border-radius:0;box-shadow:none;padding:0}
}


/* v47 e-mail test, verkooplog, dashboardstatistiek en compacte A4 rapporten */
.smtp-test-card{display:grid;grid-template-columns:1fr auto;gap:18px;align-items:center;border:1px solid #bbf7d0;background:#dcfce7;color:#15803d;border-radius:24px;padding:20px;margin-top:18px}
.smtp-test-card.warning{border-color:#fed7aa;background:#fff7ed;color:#9a3412}
.smtp-check-list{display:grid;gap:10px;margin-top:14px}
.smtp-check-item{background:white;border:1px solid var(--border);border-radius:16px;padding:12px 14px;display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center}
.smtp-check-dot{width:24px;height:24px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:950;background:#dcfce7;color:#15803d}
.smtp-check-dot.warn{background:#fff7ed;color:#9a3412}
.mail-preview-box{background:#fff;border:1px solid var(--border);border-radius:22px;padding:20px;margin-top:18px}
.admin-mini-nav{display:flex;gap:10px;flex-wrap:wrap;margin:16px 0 0}
.dashboard-sales-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}
.dashboard-sales-card{background:#f8fafc;border:1px solid var(--border);border-radius:22px;padding:18px}
.dashboard-sales-card span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.dashboard-sales-card strong{display:block;font-size:26px;margin-top:7px;letter-spacing:-.04em}
.product-bar-list{display:grid;gap:12px;margin-top:16px}
.product-bar-row{display:grid;grid-template-columns:180px 1fr auto;gap:12px;align-items:center}
.product-bar-track{height:12px;background:#e2e8f0;border-radius:999px;overflow:hidden}
.product-bar-fill{height:100%;background:#111827;border-radius:999px}
.sales-log-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}
.sales-log-kpi{background:#f8fafc;border:1px solid var(--border);border-radius:20px;padding:18px}
.sales-log-kpi span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.sales-log-kpi strong{display:block;font-size:24px;margin-top:7px}
.a4-compact{width:210mm;min-height:297mm;max-height:297mm;overflow:hidden;margin:0 auto;background:white;border:1px solid #e2e8f0;border-radius:8px;padding:10mm;box-shadow:0 18px 45px rgba(15,23,42,.08)}
.a4-compact .report-header{padding-bottom:10px;margin-bottom:12px;border-bottom:2px solid #111827}
.a4-compact .report-logo{height:36px}
.a4-compact .report-title h1{font-size:21px;margin:0 0 5px}
.a4-compact .report-title p{font-size:10px;line-height:1.35;margin:0}
.a4-compact .report-meta{font-size:10px;padding:9px;border-radius:10px;min-width:190px}
.a4-compact .report-kpis{grid-template-columns:repeat(4,1fr);gap:7px;margin:10px 0}
.a4-compact .report-kpi{padding:8px;border-radius:10px}
.a4-compact .report-kpi span{font-size:9px}
.a4-compact .report-kpi strong{font-size:15px;margin-top:4px}
.a4-compact .report-section{margin-top:12px}
.a4-compact .report-section h2{font-size:14px;margin:0 0 6px}
.a4-compact .report-table{font-size:9px}
.a4-compact .report-table th,.a4-compact .report-table td{padding:5px}
.a4-compact .report-total{padding:8px 10px;border-radius:10px;margin-top:10px;font-size:10px}
.a4-compact .report-total strong{font-size:16px}
.a4-compact .report-subtitle{font-size:9px;padding:5px 8px;margin-top:5px}
.report-filter-bar{max-width:1120px;margin:0 auto 18px;background:white;border:1px solid #e2e8f0;border-radius:18px;padding:14px;display:flex;gap:10px;align-items:end;justify-content:space-between;flex-wrap:wrap}
.report-filter-bar form{display:flex;gap:10px;align-items:end;flex-wrap:wrap;margin:0}
.report-filter-bar .field{min-width:170px}
@media(max-width:1000px){.dashboard-sales-grid,.sales-log-kpis{grid-template-columns:1fr 1fr}.product-bar-row{grid-template-columns:1fr}.a4-compact{width:auto;min-height:auto;max-height:none;padding:18px}.smtp-test-card{grid-template-columns:1fr}}
@media(max-width:700px){.dashboard-sales-grid,.sales-log-kpis{grid-template-columns:1fr}}
@media print{@page{size:A4;margin:8mm}body{background:white!important}.report-filter-bar,.report-actions,.header,.footer{display:none!important}.report-page{padding:0;background:white}.a4-compact{width:194mm;max-height:none;min-height:auto;border:0;border-radius:0;box-shadow:none;padding:0;overflow:visible}}


/* v48 orderlicenties, factuur en klantinstellingen */
.license-product-card{background:#fff;border:1px solid var(--border);border-radius:24px;padding:22px;margin-top:18px;box-shadow:0 10px 28px rgba(15,23,42,.045)}
.license-product-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap;margin-bottom:14px}
.license-product-head h3{margin:0}
.license-bubble-list{display:grid;gap:12px;margin-top:14px}
.license-bubble{border:1px solid var(--border);background:#f8fafc;border-radius:18px;padding:16px;cursor:pointer;text-align:left;width:100%;transition:.15s ease}
.license-bubble:hover{border-color:#111827;background:#fff}
.license-bubble span{display:block;color:#64748b;font-size:12px;font-weight:950;text-transform:uppercase;letter-spacing:.08em;margin-bottom:7px}
.license-bubble strong{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:18px;letter-spacing:.02em;color:#111827}
.order-delivery-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.customer-number-box{background:#f8fafc;border:1px solid var(--border);border-radius:22px;padding:20px}
.customer-number-box span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:7px}
.customer-number-box strong{font-size:26px;letter-spacing:-.04em}
.invoice-total-clean tr td{font-size:14px}
.invoice-total-clean .grand-total td{font-size:17px;background:#f8fafc}
@media(max-width:900px){.settings-grid{grid-template-columns:1fr}.license-product-head{display:block}}


/* v49 afspraakflow */
.time-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:16px}
.custom-time-box{background:#f8fafc;border:1px solid var(--border);border-radius:20px;padding:18px}
.custom-time-box input[type="time"]{font-size:18px;font-weight:900}
.appointment-software-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:10px}
.software-option{border:1px solid var(--border);background:#f8fafc;border-radius:16px;padding:14px;display:flex;gap:10px;align-items:flex-start;font-weight:900}
.software-option input{width:auto;margin-top:3px}
.appointment-success-card{max-width:880px;margin:0 auto;background:white;border:1px solid var(--border);border-radius:32px;padding:34px;box-shadow:0 18px 45px rgba(15,23,42,.06)}
.appointment-success-icon{width:64px;height:64px;border-radius:22px;background:#dcfce7;color:#15803d;display:flex;align-items:center;justify-content:center;font-size:34px;font-weight:950;margin-bottom:18px}
.appointment-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:22px}
.appointment-summary-item{background:#f8fafc;border:1px solid var(--border);border-radius:18px;padding:16px}
.appointment-summary-item span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;margin-bottom:7px}
.appointment-summary-item strong{font-size:16px}
@media(max-width:900px){.time-choice-grid,.appointment-summary-grid,.appointment-software-grid{grid-template-columns:1fr}}


/* v50 nette A4 rapportage */
.report-a4{
  width:210mm;
  min-height:297mm;
  margin:0 auto;
  background:white;
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:18mm;
  box-shadow:0 18px 45px rgba(15,23,42,.08);
}
.report-a4 .report-header{
  display:flex;
  justify-content:space-between;
  gap:28px;
  align-items:flex-start;
  border-bottom:3px solid #111827;
  padding-bottom:18px;
  margin-bottom:22px;
}
.report-a4 .report-logo{height:52px;width:auto;display:block;margin-bottom:10px}
.report-a4 .report-title h1{font-size:30px;margin:0 0 7px;letter-spacing:-.04em}
.report-a4 .report-title p{color:#64748b;line-height:1.5;margin:0}
.report-a4 .report-meta{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:15px;min-width:240px;font-size:13px}
.report-a4 .report-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}
.report-a4 .report-kpi{background:#f8fafc;border:1px solid #e2e8f0;border-radius:17px;padding:15px}
.report-a4 .report-kpi span{display:block;color:#64748b;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.report-a4 .report-kpi strong{display:block;font-size:23px;margin-top:7px;letter-spacing:-.04em}
.report-a4 .report-section{margin-top:24px}
.report-a4 .report-section h2{font-size:21px;margin:0 0 12px}
.report-a4 .report-table{width:100%;border-collapse:collapse;font-size:13px}
.report-a4 .report-table th{background:#111827;color:white;padding:10px;text-align:left;font-size:11px;text-transform:uppercase;letter-spacing:.05em}
.report-a4 .report-table td{border-bottom:1px solid #e2e8f0;padding:10px;vertical-align:top}
.report-a4 .report-table tr:nth-child(even) td{background:#f8fafc}
.report-a4 .report-total{background:#111827;color:white;border-radius:18px;padding:16px;margin-top:20px;display:flex;justify-content:space-between;gap:18px;align-items:center}
.report-a4 .report-total strong{font-size:26px}
.license-month-banner{
  background:#111827;
  color:white;
  border-radius:24px;
  padding:22px;
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  margin:18px 0;
}
.license-month-banner span{color:#cbd5e1;font-weight:800}
.license-month-banner strong{font-size:34px;letter-spacing:-.05em}
@media(max-width:1000px){
  .report-a4{width:auto;min-height:auto;padding:24px}
  .report-a4 .report-header{flex-direction:column}
  .report-a4 .report-kpis{grid-template-columns:1fr 1fr}
  .license-month-banner{display:block}
}
@media print{
  @page{size:A4;margin:10mm}
  body{background:white!important}
  .report-filter-bar,.report-actions,.header,.footer{display:none!important}
  .report-page{padding:0;background:white}
  .report-a4{width:190mm;min-height:auto;margin:0;border:0;border-radius:0;box-shadow:none;padding:0}
  .report-a4 .report-header{padding-bottom:14px;margin-bottom:16px}
  .report-a4 .report-kpis{grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}
  .report-a4 .report-kpi{padding:10px}
  .report-a4 .report-kpi strong{font-size:18px}
  .report-a4 .report-section{margin-top:16px}
  .report-a4 .report-section h2{font-size:16px;margin-bottom:8px}
  .report-a4 .report-table{font-size:10px}
  .report-a4 .report-table th,.report-a4 .report-table td{padding:6px}
  .report-a4 .report-total{padding:10px 12px;border-radius:12px;margin-top:12px}
  .report-a4 .report-total strong{font-size:19px}
}


/* v53 grote duidelijke PDF/print rapportage */
.report-large-a4{
  width:210mm;
  min-height:297mm;
  margin:0 auto;
  background:white;
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:18mm;
  box-shadow:0 18px 45px rgba(15,23,42,.08);
}
.report-large-a4 .report-header{
  display:flex;
  justify-content:space-between;
  gap:28px;
  align-items:flex-start;
  border-bottom:3px solid #111827;
  padding-bottom:18px;
  margin-bottom:22px;
}
.report-large-a4 .report-logo{
  height:54px;
  width:auto;
  display:block;
  margin-bottom:10px;
}
.report-large-a4 .report-title h1{
  font-size:30px;
  margin:0 0 7px;
  letter-spacing:-.04em;
}
.report-large-a4 .report-title p{
  color:#64748b;
  line-height:1.5;
  margin:0;
  font-size:14px;
}
.report-large-a4 .report-meta{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:15px;
  min-width:240px;
  font-size:13px;
}
.report-large-a4 .report-kpis{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:12px;
  margin:20px 0;
}
.report-large-a4 .report-kpi{
  background:#f8fafc;
  border:1px solid #e2e8f0;
  border-radius:17px;
  padding:15px;
}
.report-large-a4 .report-kpi span{
  display:block;
  color:#64748b;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.report-large-a4 .report-kpi strong{
  display:block;
  font-size:23px;
  margin-top:7px;
  letter-spacing:-.04em;
}
.report-large-a4 .report-section{
  margin-top:24px;
}
.report-large-a4 .report-section h2{
  font-size:21px;
  margin:0 0 12px;
}
.report-large-a4 .report-table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}
.report-large-a4 .report-table th{
  background:#111827;
  color:white;
  padding:10px;
  text-align:left;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.report-large-a4 .report-table td{
  border-bottom:1px solid #e2e8f0;
  padding:10px;
  vertical-align:top;
}
.report-large-a4 .report-table tr:nth-child(even) td{
  background:#f8fafc;
}
.report-large-a4 .report-total{
  background:#111827;
  color:white;
  border-radius:18px;
  padding:16px;
  margin-top:20px;
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
}
.report-large-a4 .report-total strong{
  font-size:26px;
}
.report-large-a4 .report-subtitle{
  display:inline-flex;
  background:#eef2ff;
  border:1px solid #c7d2fe;
  color:#3730a3;
  border-radius:999px;
  padding:7px 11px;
  font-weight:950;
  font-size:12px;
  margin-top:8px;
}
@media(max-width:1000px){
  .report-large-a4{width:auto;min-height:auto;padding:24px}
  .report-large-a4 .report-header{flex-direction:column}
  .report-large-a4 .report-kpis{grid-template-columns:1fr 1fr}
}
@media print{
  @page{size:A4;margin:8mm}
  body{background:white!important}
  .report-filter-bar,.report-actions,.header,.footer{display:none!important}
  .report-page{padding:0!important;background:white!important}
  .report-large-a4{
    width:194mm;
    min-height:auto;
    margin:0;
    border:0;
    border-radius:0;
    box-shadow:none;
    padding:0;
  }
  .report-large-a4 .report-header{padding-bottom:14px;margin-bottom:16px}
  .report-large-a4 .report-logo{height:44px}
  .report-large-a4 .report-title h1{font-size:24px}
  .report-large-a4 .report-title p{font-size:12px}
  .report-large-a4 .report-meta{font-size:11px;padding:10px}
  .report-large-a4 .report-kpis{grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}
  .report-large-a4 .report-kpi{padding:10px}
  .report-large-a4 .report-kpi strong{font-size:18px}
  .report-large-a4 .report-section{margin-top:16px}
  .report-large-a4 .report-section h2{font-size:17px;margin-bottom:8px}
  .report-large-a4 .report-table{font-size:10.5px}
  .report-large-a4 .report-table th,.report-large-a4 .report-table td{padding:6px}
  .report-large-a4 .report-total{padding:10px 12px;border-radius:12px;margin-top:12px}
  .report-large-a4 .report-total strong{font-size:20px}
}


/* --- KeyZo v55 bookkeeping improvements --- */
.bookkeeping-hero{padding:26px}
.bookkeeping-head{display:grid;grid-template-columns:1.15fr .85fr;gap:22px;align-items:start}
.bookkeeping-filter-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:20px;padding:16px}
.bookkeeping-filter-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}
.bookkeeping-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:22px}
.bookkeeping-kpis.compact{grid-template-columns:repeat(6,1fr)}
.bookkeeping-kpi{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px}
.bookkeeping-kpi.dark{background:#0f172a;border-color:#0f172a;color:#fff}
.bookkeeping-kpi span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.bookkeeping-kpi.dark span{color:#cbd5e1}
.bookkeeping-kpi strong{display:block;font-size:28px;margin-top:8px;letter-spacing:-.04em}
.bookkeeping-action-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.bookkeeping-action-inline{display:flex;gap:8px;flex-wrap:wrap}
.month-summary-card{border:1px solid #e2e8f0;background:#fff;border-radius:20px;padding:18px}
.month-summary-title{font-size:20px;font-weight:900;letter-spacing:-.03em;margin-bottom:12px}
.month-summary-list{display:grid;gap:10px}
.month-summary-list div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px dashed #e5e7eb;padding-bottom:8px}
.month-summary-list div:last-child{border-bottom:0;padding-bottom:0}
.month-summary-list span{color:#64748b}
.month-summary-list strong{font-weight:800}
.month-summary-profit{margin-top:14px;background:#ecfdf5;color:#166534;border-radius:999px;padding:8px 12px;font-weight:900;display:inline-block}
@media (max-width: 1200px){
  .bookkeeping-kpis,.bookkeeping-kpis.compact{grid-template-columns:repeat(3,1fr)}
}
@media (max-width: 980px){
  .bookkeeping-head{grid-template-columns:1fr}
  .bookkeeping-filter-grid{grid-template-columns:1fr}
  .bookkeeping-kpis,.bookkeeping-kpis.compact{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 680px){
  .bookkeeping-kpis,.bookkeeping-kpis.compact{grid-template-columns:1fr}
}


/* v57 bookkeeping download + clearer day/month overview */
.bookkeeping-hero{padding:26px}
.bookkeeping-head{display:grid;grid-template-columns:1.05fr .95fr;gap:22px;align-items:start}
.bookkeeping-head h1{font-size:42px;line-height:1.05;margin-bottom:10px}
.bookkeeping-filter-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:22px;padding:16px;box-shadow:0 8px 24px rgba(15,23,42,.04)}
.bookkeeping-filter-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:end}
.bookkeeping-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:22px}
.bookkeeping-kpis.compact{grid-template-columns:repeat(6,1fr)}
.bookkeeping-kpi{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px}
.bookkeeping-kpi.dark{background:#0f172a;border-color:#0f172a;color:#fff}
.bookkeeping-kpi span{display:block;color:#64748b;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.08em}
.bookkeeping-kpi.dark span{color:#cbd5e1}
.bookkeeping-kpi strong{display:block;font-size:28px;margin-top:8px;letter-spacing:-.04em}
.bookkeeping-action-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.bookkeeping-action-inline{display:flex;gap:8px;flex-wrap:wrap}
.month-summary-card{border:1px solid #e2e8f0;background:#fff;border-radius:20px;padding:18px}
.month-summary-title{font-size:20px;font-weight:900;letter-spacing:-.03em;margin-bottom:12px}
.month-summary-list{display:grid;gap:10px}
.month-summary-list div{display:flex;justify-content:space-between;gap:12px;border-bottom:1px dashed #e5e7eb;padding-bottom:8px}
.month-summary-list div:last-child{border-bottom:0;padding-bottom:0}
.month-summary-list span{color:#64748b}
.month-summary-list strong{font-weight:800}
.month-summary-profit{margin-top:14px;background:#ecfdf5;color:#166534;border-radius:999px;padding:8px 12px;font-weight:900;display:inline-block}
@media (max-width: 1200px){
  .bookkeeping-kpis,.bookkeeping-kpis.compact{grid-template-columns:repeat(3,1fr)}
}
@media (max-width: 980px){
  .bookkeeping-head{grid-template-columns:1fr}
  .bookkeeping-filter-grid{grid-template-columns:1fr}
  .bookkeeping-kpis,.bookkeeping-kpis.compact{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 680px){
  .bookkeeping-kpis,.bookkeeping-kpis.compact{grid-template-columns:1fr}
}


/* v58 populair op homepagina */
.inline-form{display:inline-flex;margin:0}
.status-message-inline{
  background:#dcfce7;
  border:1px solid #bbf7d0;
  color:#15803d;
  border-radius:16px;
  padding:12px 14px;
  font-weight:900;
  margin-bottom:16px;
}
.clean-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}


/* v63 product bewerken */
.form-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:22px;
  padding:20px;
}
.form-card textarea{
  width:100%;
  border:1px solid #cbd5e1;
  border-radius:14px;
  padding:12px 14px;
  font:inherit;
  resize:vertical;
}
.form-grid .field.full{grid-column:1 / -1}


/* v66 klanten / order verwerking / creditfactuur */
.status-shortcuts{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}
.form-card{
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:22px;
  padding:20px;
}
.form-grid .field.full{grid-column:1 / -1}


/* v67 orderstatus zonder dubbele Afgerond */
.order-status-flow.clean-flow{margin-top:18px;display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.order-status-flow.clean-flow .order-step{border:1px solid #e2e8f0;background:#f8fafc;border-radius:14px;padding:12px 14px;font-weight:900}
.order-status-flow.clean-flow .order-step.active{background:#dcfce7;border-color:#bbf7d0;color:#166534}
.form-grid .field.full{grid-column:1 / -1}
@media(max-width:900px){.order-status-flow.clean-flow{grid-template-columns:1fr 1fr}}


/* v69 Wero + handmatige betaling + klantgegevens */
.manual-payment-box{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:14px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-radius:18px;
  padding:16px;
}
.manual-payment-box.compact{
  grid-template-columns:1fr;
  padding:12px;
}
.manual-payment-box span{
  display:block;
  color:#9a3412;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:4px;
}
.manual-payment-box strong{
  color:#111827;
  word-break:break-word;
}
@media(max-width:800px){.manual-payment-box{grid-template-columns:1fr}}


/* v70 kortingcode melding */
.coupon-message{
  margin-top:10px;
  border-radius:14px;
  padding:10px 12px;
  font-weight:900;
  font-size:14px;
}
.coupon-message.valid{
  background:#dcfce7;
  border:1px solid #86efac;
  color:#166534;
}
.coupon-message.invalid{
  background:#fee2e2;
  border:1px solid #fecaca;
  color:#991b1b;
}
.coupon-invalid-line strong{
  color:#991b1b;
}


/* v72 klikbare categoriekaarten home */
.home-category-card{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
  min-height:160px;
  cursor:pointer;
  text-decoration:none;
  color:inherit;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.home-category-card:hover{
  transform:translateY(-2px);
  border-color:#cbd5e1;
  box-shadow:0 18px 45px rgba(15,23,42,.10);
}
.category-card-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:auto;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid #cbd5e1;
  background:#fff;
  color:#0f172a;
  font-weight:900;
  font-size:13px;
  box-shadow:0 8px 20px rgba(15,23,42,.06);
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.home-category-card:hover .category-card-action{
  background:#0f172a;
  color:#fff;
  border-color:#0f172a;
}
.category-card-action:after{
  content:" →";
}


/* v75 nette Wero betaalmethode */
.payment-option.selected{
  border-color:#0f172a;
  background:#f8fafc;
}
.payment-option.selected .pay-icon{
  background:#0f172a;
  color:#fff;
}


/* v77 checkout betaalkeuze */
.payment-options{
  display:grid;
  gap:12px;
}
.payment-option{
  cursor:pointer;
}
.payment-option input[type="radio"]{
  margin-left:auto;
}
.payment-option.selected{
  border-color:#0f172a;
  background:#f8fafc;
}
.payment-option.selected .pay-icon{
  background:#0f172a;
  color:#fff;
}


/* v78 facturen betaalgegevens opgeschoond */
.manual-payment-box.compact{
  background:#f8fafc;
  border-color:#e2e8f0;
}
.manual-payment-box.compact span{
  color:#475569;
}


/* v80 volledige handmatige overboeking op betaalpagina */
.manual-transfer-box{
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-radius:18px;
  padding:18px;
}
.manual-transfer-box h3{
  margin:0 0 6px;
}
.manual-transfer-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px;
  margin-top:14px;
}
.manual-transfer-grid div{
  background:#fff;
  border:1px solid #fed7aa;
  border-radius:14px;
  padding:12px;
}
.manual-transfer-grid span{
  display:block;
  color:#9a3412;
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:5px;
}
.manual-transfer-grid strong{
  display:block;
  color:#0f172a;
  word-break:break-word;
}
@media(max-width:800px){.manual-transfer-grid{grid-template-columns:1fr}}


/* v81 afspraken tijd zichtbaar */
.appointment-time-input{
  min-width:95px;
  font-weight:900;
}


/* v82 betaalgegevens order-success volledig */
.success-clean-panel .manual-payment-box{
  grid-template-columns:repeat(2, minmax(0, 1fr));
}
@media(max-width:800px){
  .success-clean-panel .manual-payment-box{
    grid-template-columns:1fr;
  }
}


/* v83 afspraak details en betaalgegevens factuur */
.table-link{
  color:#0f172a;
  font-weight:900;
  text-decoration:none;
}
.table-link:hover{
  text-decoration:underline;
}
.invoice-payment-details{
  border-color:#fed7aa;
  background:#fff7ed;
}


/* v84 afspraakstatus klant */
.appointment-customer-panel{
  border:1px solid #e2e8f0;
  border-radius:18px;
  padding:16px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  background:#f8fafc;
}
.appointment-customer-panel.confirmed{
  background:#dcfce7;
  border-color:#86efac;
}
.appointment-customer-panel.pending{
  background:#fff7ed;
  border-color:#fed7aa;
}
.appointment-customer-panel.cancelled{
  background:#fee2e2;
  border-color:#fecaca;
}
.appointment-customer-panel p{
  margin:6px 0 0;
  color:#475569;
  line-height:1.5;
}
@media(max-width:800px){
  .appointment-customer-panel{
    flex-direction:column;
  }
}


/* v85 afspraakpagina opgeschoond */
.chosen-appointment-popup{
  background:#eff6ff;
  border:1px solid #bfdbfe;
  color:#1e3a8a;
  border-radius:16px;
  padding:16px;
  font-weight:800;
  line-height:1.6;
}
.chosen-appointment-popup strong{
  display:block;
  color:#1d4ed8;
  font-size:14px;
  text-transform:uppercase;
  letter-spacing:.06em;
  margin-bottom:4px;
}



/* v89 mobiel-proef verbeteringen */
html, body{
  max-width:100%;
  overflow-x:hidden;
}

img, svg, video, canvas{
  max-width:100%;
  height:auto;
}

.table-wrap{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

.table-wrap table{
  min-width:720px;
}

.clean-actions,
.success-cta-row,
.actions-row,
.nav-actions,
.price-row,
.admin-section-title,
.section-head,
.existing-customer-box,
.dashboard-hero{
  flex-wrap:wrap;
}

.wide-panel,
.card,
.product,
.order-card,
.success-card,
.metric-card,
.month-card,
.invoice-page{
  max-width:100%;
}

input, select, textarea, button{
  max-width:100%;
}

@media(max-width:1100px){
  .header .nav{
    min-height:auto;
    padding-top:12px;
    padding-bottom:12px;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
  }

  .header .brand{
    flex:1 1 auto;
    min-width:170px;
  }

  .brand-logo-img{
    height:44px;
  }

  .admin-brand-logo-img{
    height:42px;
  }

  .header .menu{
    display:flex!important;
    order:3;
    width:100%;
    gap:10px;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding:8px 0 2px;
    scrollbar-width:thin;
    white-space:nowrap;
  }

  .header .menu a{
    flex:0 0 auto;
    background:#f8fafc;
    border:1px solid var(--border);
    border-radius:999px;
    padding:9px 12px;
    font-size:12px;
  }

  .admin-top .menu a{
    background:#1f2937;
    border-color:rgba(255,255,255,.16);
    color:white;
  }

  .header .nav-actions{
    display:flex!important;
    flex:0 0 auto;
    gap:8px;
    justify-content:flex-end;
  }

  .header .nav-actions .btn{
    padding:10px 12px;
    font-size:12px;
    border-radius:12px;
  }

  .container{
    padding-left:18px;
    padding-right:18px;
  }

  .section{
    padding:36px 0;
  }

  .hero-grid{
    padding:42px 0 34px;
    gap:26px;
  }

  .hero-card{
    border-radius:24px;
    padding:20px;
  }

  h1{
    font-size:38px;
    line-height:1.08;
  }

  h2{
    font-size:30px;
  }

  h3{
    font-size:20px;
  }

  .lead{
    font-size:16px;
  }

  .wide-panel,
  .card{
    border-radius:22px;
    padding:20px;
  }

  .sidebar{
    min-height:auto!important;
    position:static!important;
    border-radius:22px;
    padding:14px;
  }

  .side-title{
    padding-bottom:12px;
  }

  .side-item{
    padding:11px 12px;
    margin-bottom:4px;
  }

  .account-layout,
  .admin-layout,
  .order-layout,
  .auth-card,
  .grid-2,
  .grid-3,
  .grid-4,
  .products,
  .status-grid,
  .customer-detail-grid,
  .success-grid,
  .invoice-address-grid,
  .license-info-grid,
  .month-overview-grid,
  .bookkeeping-grid,
  .customer-grid,
  .calendar-box,
  .metric-row{
    grid-template-columns:1fr!important;
  }

  .product{
    min-height:auto;
  }

  .price-row{
    align-items:flex-start;
  }

  .form-grid{
    grid-template-columns:1fr!important;
  }

  .field.full{
    grid-column:auto!important;
  }

  .coupon-box,
  .choice-actions,
  .actions-row,
  .support-option,
  .manual-transfer-grid,
  .success-summary-grid,
  .success-order-summary{
    grid-template-columns:1fr!important;
  }

  .payment-option{
    grid-template-columns:auto 1fr auto;
    align-items:center;
  }

  .checkout-login-return,
  .existing-customer-box,
  .admin-section-title,
  .section-head,
  .dashboard-hero,
  .appointment-customer-panel{
    align-items:flex-start;
    flex-direction:column;
  }

  .clean-actions,
  .success-cta-row{
    display:flex;
    width:100%;
    gap:10px;
  }

  .clean-actions .btn,
  .success-cta-row .btn,
  .success-cta-row form,
  .appointment-customer-panel .btn,
  .appointment-customer-panel form{
    width:100%;
  }

  .clean-actions form,
  .appointment-customer-panel form{
    width:100%;
  }

  .clean-actions button,
  .appointment-customer-panel button{
    width:100%;
  }

  .metric-row{
    gap:10px;
  }

  .metric-card{
    padding:16px;
    border-radius:18px;
  }

  .invoice-page{
    margin:18px auto;
    padding:22px;
    border-radius:18px;
  }

  .invoice-top{
    flex-direction:column;
    gap:16px;
  }

  .print-actions{
    padding:0 18px;
    justify-content:stretch;
  }

  .print-actions .btn{
    flex:1 1 auto;
  }

  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    text-align:left;
  }
}

@media(max-width:700px){
  .container{
    padding-left:12px;
    padding-right:12px;
  }

  .header .nav{
    gap:10px;
  }

  .header .brand{
    width:100%;
  }

  .brand-logo-img{
    height:40px;
  }

  .admin-brand-logo-img{
    height:38px;
  }

  .header .nav-actions{
    width:100%;
    justify-content:space-between;
  }

  .header .nav-actions .btn{
    flex:1 1 0;
    min-width:0;
    white-space:normal;
    line-height:1.15;
    text-align:center;
  }

  .header .menu{
    margin-left:-12px;
    margin-right:-12px;
    padding-left:12px;
    padding-right:12px;
  }

  h1{
    font-size:32px;
  }

  h2{
    font-size:26px;
  }

  .section{
    padding:28px 0;
  }

  .wide-panel,
  .card,
  .product,
  .success-card,
  .order-card{
    padding:16px;
    border-radius:18px;
  }

  .product-top,
  .line,
  .total,
  .price-row,
  .month-line{
    gap:8px;
  }

  .price{
    font-size:27px;
  }

  .btn{
    padding:12px 14px;
    font-size:13px;
  }

  .btn.full,
  form .btn.primary,
  form .btn.green{
    width:100%;
  }

  .category-bar{
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:4px;
  }

  .category-link{
    flex:0 0 auto;
  }

  .time-slots{
    grid-template-columns:1fr 1fr!important;
  }

  .appointment-date-grid{
    grid-template-columns:repeat(2, minmax(0, 1fr))!important;
  }

  .chosen-appointment-popup,
  .appointment-note,
  .info-box,
  .locked-delivery-box,
  .manual-payment-box,
  .manual-transfer-box{
    border-radius:16px;
    padding:14px;
  }

  .manual-transfer-grid{
    grid-template-columns:1fr!important;
  }

  .success-clean-panel{
    padding:18px!important;
    border-radius:20px!important;
  }

  .success-clean-card{
    padding:18px!important;
    border-radius:20px!important;
  }

  .invoice-page{
    padding:16px;
    margin:10px 0;
    border-left:0;
    border-right:0;
    border-radius:0;
  }

  .invoice-brand-logo{
    height:54px;
  }

  .invoice-top{
    padding-bottom:16px;
    margin-bottom:16px;
  }

  .table-wrap{
    border-radius:14px;
  }

  th, td{
    padding:10px;
    font-size:13px;
  }

  .sidebar{
    padding:12px;
  }

  .side-item{
    font-size:13px;
  }

  .order-layout .wide-panel,
  .account-layout .wide-panel,
  .admin-layout .wide-panel{
    margin-bottom:16px;
  }

  .footer{
    padding:18px 0;
  }
}

@media(max-width:430px){
  .header .nav-actions{
    display:grid!important;
    grid-template-columns:1fr 1fr;
  }

  .header .nav-actions .btn:last-child:nth-child(3){
    grid-column:1 / -1;
  }

  .btn{
    white-space:normal;
  }

  .time-slots,
  .appointment-date-grid{
    grid-template-columns:1fr!important;
  }

  .price-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .product .clean-actions,
  .price-row .clean-actions{
    width:100%;
  }

  .product .clean-actions .btn,
  .price-row .btn{
    width:100%;
  }
}

/* Better horizontal admin tables on small screens */
@media(max-width:900px){
  .admin-layout table,
  .account-layout table,
  .invoice-page table{
    min-width:680px;
  }

  .table-wrap::after{
    content:'Swipe horizontaal om meer kolommen te zien';
    display:block;
    font-size:12px;
    color:#64748b;
    padding:8px 10px;
    background:#f8fafc;
    border-top:1px solid var(--border);
  }
}

/* Keep print/PDF layout clean */
@media print{
  html, body{
    overflow:visible!important;
  }

  .table-wrap::after{
    display:none!important;
  }
}


/* v91 factuurkop netjes rechts en geen status op factuur */
.invoice-meta{
  text-align:right;
  margin-left:auto;
  min-width:260px;
}
@media print{
  .invoice-top{
    flex-direction:row!important;
    justify-content:space-between!important;
    align-items:flex-start!important;
  }
  .invoice-meta{
    text-align:right!important;
    margin-left:auto!important;
  }
}
@media(max-width:700px){
  .invoice-meta{
    text-align:left;
    margin-left:0;
    min-width:0;
  }
}

.invoice-page table{min-width:0}.invoice-table-wrap table{min-width:0}.invoice-table-wrap th,.invoice-table-wrap td{white-space:normal}.invoice-payment-details{background:#fff7ed;border-color:#fdba74;color:#9a3412}


/* v100 cookie systeem */
.cookie-overlay{
  position:fixed;
  inset:0;
  z-index:99999;
  display:none;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(15,23,42,.72);
  backdrop-filter:blur(6px);
}
.cookie-overlay.show{
  display:flex;
}
.cookie-modal{
  width:min(680px,100%);
  background:#fff;
  border:1px solid #e2e8f0;
  border-radius:28px;
  box-shadow:0 28px 90px rgba(15,23,42,.35);
  padding:28px;
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:18px;
  align-items:center;
}
.cookie-icon{
  width:56px;
  height:56px;
  border-radius:18px;
  background:#f8fafc;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
}
.cookie-content h3{
  margin:0 0 8px;
  font-size:24px;
  color:#0f172a;
}
.cookie-content p{
  margin:0;
  color:#475569;
  line-height:1.55;
}
body.cookie-locked{
  overflow:hidden;
}
@media(max-width:760px){
  .cookie-modal{
    grid-template-columns:1fr;
    align-items:flex-start;
    padding:22px;
  }
  .cookie-accept{
    width:100%;
  }
}

/* v100 factuur web/PDF basis strakker */
.invoice-page{
  max-width:1180px;
  width:calc(100% - 40px);
}
.invoice-table-wrap table{
  width:100%;
  table-layout:fixed;
}
.invoice-table-wrap th:nth-child(1), .invoice-table-wrap td:nth-child(1){width:46%;}
.invoice-table-wrap th:nth-child(2), .invoice-table-wrap td:nth-child(2){width:12%;text-align:center;}
.invoice-table-wrap th:nth-child(3), .invoice-table-wrap td:nth-child(3){width:27%;}
.invoice-table-wrap th:nth-child(4), .invoice-table-wrap td:nth-child(4){width:15%;text-align:right;}
.invoice-table-wrap td, .invoice-table-wrap th{vertical-align:middle;}


/* v102 handleiding knop bij downloads */
.license-product-head .clean-actions{
  align-items:center;
  justify-content:flex-end;
}
@media(max-width:700px){
  .license-product-head .clean-actions{
    width:100%;
    justify-content:stretch;
  }
  .license-product-head .clean-actions .btn{
    flex:1 1 auto;
  }
}


/* v104 uitgebreide productinformatie met enters */
.product-long-info{
  white-space:normal;
  line-height:1.75;
  font-weight:600;
}
.product-long-info br{
  display:block;
  content:"";
  margin-bottom:8px;
}


/* v105 reviews */
.review-summary{display:flex;align-items:center;gap:10px;margin:14px 0 0;flex-wrap:wrap}
.review-stars{color:#f59e0b;font-weight:950;letter-spacing:.06em}
.review-stars.big{font-size:28px}
.review-list{display:grid;gap:14px}
.review-card{background:#f8fafc;border:1px solid #e2e8f0;border-radius:18px;padding:16px}
.review-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.review-card p{margin:8px 0;line-height:1.65;color:#334155}

.review-summary.compact{margin:6px 0 8px;gap:8px}
.review-summary.compact .review-stars{font-size:16px;letter-spacing:.04em}
.review-rating{font-weight:800;color:#0f172a}
.review-empty{margin:6px 0 8px;font-size:14px}


/* v113 bedrag-uitlijning: bedragen blijven altijd strak rechts, ook bij lange dienstnamen */
.line{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:baseline;
  column-gap:16px;
}
.line > span:first-child{
  min-width:0;
  overflow-wrap:anywhere;
}
.line > strong,
.line > span:last-child{
  min-width:95px;
  text-align:right;
  justify-self:end;
  white-space:nowrap;
}
.total{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:baseline;
  column-gap:16px;
}
.total > span:last-child{
  min-width:105px;
  text-align:right;
  justify-self:end;
  white-space:nowrap;
}


/* v114 admin gebruikers/wachtwoorden */
.permission-mini-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px 14px;
  min-width:220px;
}
.permission-mini-grid label{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  font-weight:850;
  color:#334155;
}
.permission-mini-grid input[type="checkbox"]{
  width:auto;
}
@media(max-width:900px){
  .permission-mini-grid{grid-template-columns:1fr}
}
