:root{font-family:Arial,Helvetica,sans-serif;color:#1f2937;background:#f4f7fb}*{box-sizing:border-box}body{margin:0}.wrap{max-width:1250px;margin:0 auto;padding:24px}.top{background:#163a5f;color:#fff;padding:18px 0}.top h1{margin:0;font-size:24px}.top a{color:#fff}.topbar{display:flex;align-items:center;justify-content:space-between;gap:20px}.userbox{display:flex;align-items:center;gap:12px;font-size:14px}.userbox form{margin:0}.linkbtn{border:0;background:transparent;color:#fff;text-decoration:underline;cursor:pointer;padding:4px;font:inherit}.card{background:#fff;border:1px solid #dbe3ec;border-radius:12px;padding:20px;margin:18px 0;box-shadow:0 2px 8px rgba(0,0,0,.04)}h2,h3{margin-top:0}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:14px}.field{margin-bottom:14px}.field label{display:block;font-weight:700;margin-bottom:6px}.field input,.field select{width:100%;padding:10px 12px;border:1px solid #b8c5d3;border-radius:8px;background:#fff}.btn{display:inline-block;border:0;border-radius:8px;padding:10px 15px;background:#1f6fb2;color:#fff;text-decoration:none;font-weight:700;cursor:pointer}.btn.secondary{background:#64748b}.btn.good{background:#17834a}.btn.warn{background:#b9730b}.actions{display:flex;gap:9px;flex-wrap:wrap;align-items:center;margin-top:12px}.table-wrap{overflow:auto}table{border-collapse:collapse;width:100%;background:#fff}th,td{padding:10px 9px;border-bottom:1px solid #e5e7eb;text-align:left;white-space:nowrap}th{background:#edf4fa}.muted{color:#64748b}.kpi{font-size:22px;font-weight:700}.alert{padding:12px 14px;border-radius:8px;margin:12px 0}.alert.success{background:#dff6e8;color:#126233}.alert.error{background:#fde2e2;color:#8c1d1d}.alert.info{background:#e7f0fb;color:#154c79}.badge{display:inline-block;border-radius:999px;padding:4px 8px;font-size:12px;background:#e7eef6}.danger{color:#b42318}.small{font-size:13px}.auth-wrap{max-width:560px}.auth-card{margin-top:50px}.auth-card .field input{font-size:16px}@media(max-width:700px){.topbar{align-items:flex-start;flex-direction:column}.wrap{padding:16px}.top h1{font-size:20px}}

/* V5: QR-navigatieblokken */
.qr-intro p{margin-bottom:0}.stop-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;margin:18px 0 28px}.stop-card{background:#fff;border:1px solid #dbe3ec;border-radius:12px;padding:18px;display:flex;flex-direction:column;align-items:center;text-align:center;page-break-inside:avoid;break-inside:avoid}.stop-card-head{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px}.stop-number{font-size:22px;font-weight:700;color:#163a5f}.stop-card h3{margin:14px 0 3px;font-size:20px}.stop-address{margin:0 0 6px}.qr-box{width:188px;min-height:188px;margin:13px auto;padding:10px;border:2px solid #e2e8f0;border-radius:10px;background:#fff;display:flex;align-items:center;justify-content:center}.qr-box img,.qr-box canvas{display:block;max-width:168px!important;width:168px!important;height:168px!important}.nav-btn{width:100%;text-align:center;margin-top:2px}.stop-meta{width:100%;display:flex;flex-wrap:wrap;justify-content:center;gap:7px 14px;margin-top:13px;padding-top:12px;border-top:1px solid #e5e7eb;font-size:13px}.route-summary{margin-bottom:12px}
@media(max-width:700px){.stop-grid{grid-template-columns:1fr}.qr-box{width:208px;min-height:208px}.qr-box img,.qr-box canvas{max-width:188px!important;width:188px!important;height:188px!important}}
@media print{body{background:#fff}.top,.noprint,.qr-intro,.route-summary{display:none!important}.wrap{max-width:none;padding:0}.stop-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10mm;margin:0}.stop-card{border:1px solid #999;border-radius:0;padding:7mm;min-height:125mm}.stop-card .nav-btn{display:none}.stop-meta{margin-top:5mm}.qr-box{border:0;margin:4mm auto}.badge{border:1px solid #aaa}.stop-number{color:#000}}

/* V6: route beheren + originele en geoptimaliseerde volgorde naast elkaar beschikbaar */
.btn.danger-btn,.danger-btn{background:#b42318;color:#fff}.row-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.row-actions form{margin:0}.compare-links{display:flex;gap:9px;flex-wrap:wrap;margin:18px 0}.import-btn{background:#475569}.section-title-row{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.imported-badge{background:#e2e8f0;color:#334155}.optimized-badge{background:#dcfce7;color:#166534}.status-kpi{font-size:18px}.empty-state{padding:18px;border:1px dashed #b8c5d3;border-radius:10px;background:#f8fafc}.edit-table input{min-width:125px;padding:8px;border:1px solid #cbd5e1;border-radius:7px}.edit-table .mini-input{min-width:72px;width:72px}.edit-table .short-input{min-width:82px;width:82px}.edit-table .postcode-input{min-width:110px;width:110px}.delete-check{display:flex;align-items:center;gap:6px;white-space:nowrap}.sticky-actions{position:sticky;bottom:10px;background:#fff;padding:12px;border:1px solid #dbe3ec;border-radius:10px;z-index:4}.card[id]{scroll-margin-top:20px}
@media(max-width:700px){.section-title-row{flex-direction:column}.row-actions{min-width:270px}.sticky-actions{bottom:0;border-radius:0}}


/* V7: optimale route als verticale lijst + onderdeel 4 Excel export */
.optimized-route-list{display:flex;flex-direction:column;gap:10px;margin-top:16px}
.optimized-route-row{display:grid;grid-template-columns:52px minmax(220px,1fr) auto auto;gap:14px;align-items:center;padding:13px 14px;border:1px solid #dbe3ec;border-radius:10px;background:#f8fafc}
.optimized-stop-no{width:42px;height:42px;border-radius:999px;background:#17834a;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:18px}
.optimized-stop-address{font-size:16px;margin-bottom:3px}
.optimized-stop-meta{display:flex;gap:8px 16px;flex-wrap:wrap;font-size:13px;justify-content:flex-end}
.optimized-map-btn{padding:8px 12px;white-space:nowrap}
.export-card{border-left:5px solid #1f6fb2}.export-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:14px}.export-main-btn{font-size:16px;padding:12px 18px}
@media(max-width:850px){.optimized-route-row{grid-template-columns:48px 1fr}.optimized-stop-meta{grid-column:2;justify-content:flex-start}.optimized-map-btn{grid-column:2;justify-self:start}}
@media(max-width:520px){.optimized-route-row{grid-template-columns:42px 1fr;padding:11px}.optimized-stop-no{width:36px;height:36px;font-size:16px}.optimized-stop-meta{display:grid;grid-template-columns:1fr 1fr;gap:5px 10px}}


/* V8: één QR-code per maximaal 10 geoptimaliseerde stops */
.qr-batch-note{margin-top:14px;padding:14px 16px;border-left:4px solid #17834a;background:#f0fdf4;border-radius:8px}
.qr-batch-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(430px,1fr));gap:18px;margin:18px 0 28px}
.qr-batch-card{background:#fff;border:1px solid #dbe3ec;border-radius:12px;padding:18px;page-break-inside:avoid;break-inside:avoid}
.qr-batch-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid #e5e7eb}
.qr-batch-number{display:inline-block;font-size:13px;font-weight:700;color:#166534;text-transform:uppercase;letter-spacing:.04em;margin-bottom:4px}
.qr-batch-head h3{margin:0;font-size:20px}
.qr-batch-content{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start;padding-top:15px}
.qr-batch-code{text-align:center}
.qr-batch-box{width:218px;min-height:218px;margin:0 auto 12px}
.qr-batch-box img,.qr-batch-box canvas{max-width:198px!important;width:198px!important;height:198px!important}
.qr-stop-list{margin:0;padding-left:28px}
.qr-stop-list li{padding:7px 0;border-bottom:1px solid #eef2f7}
.qr-stop-list li:last-child{border-bottom:0}
.qr-stop-line{display:grid;grid-template-columns:66px 1fr;gap:8px;align-items:start}
.qr-stop-order{font-size:12px;font-weight:700;color:#166534}
.qr-stop-address{line-height:1.25}
.qr-next-hint{margin-top:14px;padding:10px 12px;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;font-size:13px}
.qr-next-hint.final-batch{background:#f0fdf4;border-color:#86efac;color:#166534}
@media(max-width:760px){
  .qr-batch-grid{grid-template-columns:1fr}
  .qr-batch-content{grid-template-columns:1fr}
  .qr-batch-code{max-width:360px;margin:0 auto;width:100%}
}
@media(max-width:480px){
  .qr-batch-card{padding:14px}
  .qr-batch-box{width:208px;min-height:208px}
  .qr-batch-box img,.qr-batch-box canvas{max-width:188px!important;width:188px!important;height:188px!important}
  .qr-stop-line{grid-template-columns:58px 1fr}
}
@media print{
  .qr-batch-grid{display:block}
  .qr-batch-card{margin:0 0 10mm;border:1px solid #999;border-radius:0}
  .qr-batch-card .nav-btn{display:none}
  .qr-batch-note{display:none}
  .qr-batch-content{grid-template-columns:70mm 1fr}
  .qr-batch-box{border:0}
}


/* V11 adminpaneel */
.admin-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}
.admin-metrics .metric-card{background:#fff;border:1px solid #dbe3ec;border-radius:12px;padding:16px}
.admin-kpi{font-size:30px;font-weight:800;margin-top:5px}
@media(max-width:900px){.admin-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.admin-metrics{grid-template-columns:1fr}}


/* V12 - Route Quist Live branding */
.top{
    background:#071a33;
    border-bottom:3px solid #1489e8;
    padding:14px 0;
}
.topbar{min-height:118px}
.site-brand{
    display:flex;
    align-items:center;
    gap:16px;
    min-width:0;
}
.site-brand-logo{
    display:flex;
    align-items:center;
    text-decoration:none;
    flex:0 0 auto;
}
.site-brand-logo img{
    display:block;
    width:330px;
    height:104px;
    object-fit:cover;
    object-position:center 54%;
    border-radius:10px;
}
.site-page-title{
    display:block;
    color:#fff;
    font-size:22px;
    font-weight:700;
    line-height:1.15;
    max-width:520px;
    overflow-wrap:anywhere;
}
.route-brand .site-page-title{
    font-size:18px;
}
.auth-brand-hero{
    margin:-20px -20px 22px;
    overflow:hidden;
    border-radius:12px 12px 0 0;
    background:#071a33;
}
.auth-brand-hero img{
    display:block;
    width:100%;
    max-height:310px;
    object-fit:cover;
    object-position:center;
}
.auth-card{
    overflow:hidden;
}
@media(max-width:760px){
    .site-brand-logo img{
        width:260px;
        height:86px;
    }
    .site-page-title{
        font-size:17px;
    }
    .topbar{
        min-height:auto;
    }
}
@media(max-width:480px){
    .site-brand{
        width:100%;
        align-items:flex-start;
        flex-direction:column;
        gap:7px;
    }
    .site-brand-logo img{
        width:230px;
        height:78px;
    }
    .site-page-title{
        font-size:16px;
    }
    .userbox{
        width:100%;
        flex-wrap:wrap;
    }
}
@media print{
    .site-brand-logo img{display:none!important}
}


/* V13 - beter zichtbaar logo */
.site-brand-logo img{
    object-fit:contain !important;
    object-position:center !important;
    background:#071a33;
    border-radius:12px;
}
.site-brand{
    flex:1 1 auto;
}
.site-page-title{
    white-space:nowrap;
}
.topbar{
    gap:24px;
}
@media(max-width:900px){
    .site-brand-logo img{
        width:280px !important;
        height:92px !important;
    }
    .site-page-title{
        font-size:19px !important;
        white-space:normal;
    }
}
@media(max-width:650px){
    .topbar{
        align-items:flex-start;
    }
    .site-brand{
        width:100%;
    }
    .site-brand-logo img{
        width:240px !important;
        height:82px !important;
    }
    .site-page-title{
        font-size:17px !important;
    }
}


/* =========================================================
   V14 - volledige logo + header passend bij de banner
   ========================================================= */
.top{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 18% 48%, rgba(0,116,255,.34) 0, rgba(0,78,180,.18) 18%, rgba(0,31,79,.08) 36%, transparent 55%),
        linear-gradient(100deg, #01040b 0%, #031127 38%, #061b38 68%, #020711 100%) !important;
    border-bottom:3px solid #168cff !important;
    box-shadow:0 8px 28px rgba(0,46,112,.20);
    padding:10px 0 !important;
}
.top::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:1px;
    background:linear-gradient(90deg, transparent, #42adff 22%, #087aff 50%, #42adff 78%, transparent);
    opacity:.9;
}
.top .wrap{
    position:relative;
    z-index:1;
}
.topbar{
    min-height:150px !important;
    gap:34px !important;
}
.site-brand{
    display:flex;
    align-items:center !important;
    gap:24px !important;
    min-width:0;
    flex:1 1 auto;
}
.site-brand-logo{
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 auto;
    width:292px;
    height:146px;
    padding:0;
    border-radius:0 !important;
    background:transparent !important;
}
.site-brand-logo img{
    display:block;
    width:100% !important;
    height:100% !important;
    max-width:292px !important;
    max-height:146px !important;
    object-fit:contain !important;
    object-position:center center !important;
    border-radius:0 !important;
    background:transparent !important;
    filter:drop-shadow(0 0 12px rgba(0,105,255,.35));
}
.site-page-title{
    color:#fff !important;
    font-size:24px !important;
    font-weight:750 !important;
    line-height:1.2 !important;
    white-space:normal !important;
    text-shadow:0 2px 8px rgba(0,0,0,.55);
}
.topbar .userbox{
    flex:0 0 auto;
    color:#fff;
}
.topbar .userbox a,
.topbar .userbox button{
    color:#fff !important;
}
.topbar .userbox a:hover,
.topbar .userbox button:hover{
    color:#7fc6ff !important;
}

/* Login/registratie: laat het volledige beeld zien i.p.v. afsnijden */
.auth-brand-hero{
    background:
        radial-gradient(circle at 50% 40%, rgba(0,100,255,.22), transparent 54%),
        #01050d !important;
    padding:10px;
}
.auth-brand-hero img{
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
    object-position:center !important;
}

/* Tablet */
@media(max-width:980px){
    .topbar{
        min-height:132px !important;
        gap:20px !important;
    }
    .site-brand-logo{
        width:250px !important;
        height:125px !important;
    }
    .site-brand-logo img{
        max-width:250px !important;
        max-height:125px !important;
    }
    .site-page-title{
        font-size:20px !important;
    }
}

/* Telefoon */
@media(max-width:700px){
    .top{
        padding:8px 0 !important;
    }
    .topbar{
        min-height:auto !important;
        flex-direction:column;
        align-items:flex-start !important;
        gap:8px !important;
    }
    .site-brand{
        width:100%;
        flex-direction:row !important;
        align-items:center !important;
        gap:12px !important;
    }
    .site-brand-logo{
        width:190px !important;
        height:95px !important;
    }
    .site-brand-logo img{
        max-width:190px !important;
        max-height:95px !important;
    }
    .site-page-title{
        font-size:17px !important;
    }
    .topbar .userbox{
        width:100%;
        justify-content:flex-start;
        flex-wrap:wrap;
        padding-bottom:5px;
    }
}
@media(max-width:430px){
    .site-brand{
        flex-direction:column !important;
        align-items:flex-start !important;
    }
    .site-brand-logo{
        width:210px !important;
        height:105px !important;
    }
    .site-brand-logo img{
        max-width:210px !important;
        max-height:105px !important;
    }
}


/* =========================================================
   V15 - exact transparant Route.Quist.Live-logo
   ========================================================= */
.top{
    background:
        radial-gradient(ellipse at 24% 48%, rgba(0,91,214,.42) 0%, rgba(0,49,121,.24) 25%, rgba(1,20,48,.12) 50%, transparent 68%),
        linear-gradient(100deg,#01040a 0%,#041329 40%,#061a36 72%,#01050d 100%) !important;
    border-bottom:3px solid #168cff !important;
    padding:8px 0 !important;
    overflow:visible !important;
}
.topbar{
    min-height:210px !important;
    gap:28px !important;
    align-items:center !important;
}
.site-brand{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:28px !important;
    min-width:0;
    flex:1 1 auto;
}
.site-brand-logo{
    display:block !important;
    width:auto !important;
    height:auto !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    border:0 !important;
    border-radius:0 !important;
    overflow:visible !important;
    flex:0 0 auto;
}
.site-brand-logo img{
    display:block !important;
    width:330px !important;
    height:auto !important;
    max-width:none !important;
    max-height:none !important;
    object-fit:unset !important;
    background:transparent !important;
    border-radius:0 !important;
    box-shadow:none !important;
    filter:drop-shadow(0 0 15px rgba(0,114,255,.28)) !important;
}
.site-page-title{
    margin-left:0 !important;
    font-size:25px !important;
    color:#fff !important;
    text-shadow:0 2px 10px rgba(0,0,0,.55);
}
.topbar .userbox{
    margin-left:auto;
    flex:0 0 auto;
}

/* Login en registratie: toon ook de transparante versie zonder donker kader */
.auth-brand-hero{
    background:
        radial-gradient(ellipse at 50% 50%, rgba(0,89,220,.28), rgba(3,19,43,.12) 50%, transparent 75%) !important;
    padding:18px !important;
}
.auth-brand-hero img{
    display:block !important;
    width:min(100%, 620px) !important;
    height:auto !important;
    max-height:none !important;
    margin:0 auto !important;
    object-fit:contain !important;
    background:transparent !important;
}

/* Tablet */
@media(max-width:980px){
    .topbar{
        min-height:175px !important;
    }
    .site-brand-logo img{
        width:270px !important;
    }
    .site-page-title{
        font-size:21px !important;
    }
}

/* Mobiel */
@media(max-width:720px){
    .topbar{
        min-height:auto !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:8px !important;
    }
    .site-brand{
        width:100% !important;
        gap:14px !important;
    }
    .site-brand-logo img{
        width:220px !important;
    }
    .site-page-title{
        font-size:18px !important;
    }
    .topbar .userbox{
        width:100% !important;
        margin-left:0 !important;
        padding-bottom:7px;
    }
}
@media(max-width:480px){
    .site-brand{
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:4px !important;
    }
    .site-brand-logo img{
        width:240px !important;
    }
}


/* =========================================================
   V16 - professionele Route.Quist.Live header
   ========================================================= */

/* Donker premium blauw met subtiele diepte en lichtaccenten */
.top{
    position:relative !important;
    isolation:isolate;
    overflow:hidden !important;
    background:
        radial-gradient(ellipse at 31% 44%, rgba(0,121,255,.30) 0%, rgba(0,87,210,.16) 22%, rgba(3,30,70,.06) 45%, transparent 63%),
        radial-gradient(ellipse at 76% 20%, rgba(29,111,213,.11) 0%, transparent 44%),
        linear-gradient(104deg, #01050c 0%, #031128 36%, #061c3d 67%, #020812 100%) !important;
    border-bottom:0 !important;
    box-shadow:
        inset 0 -1px 0 rgba(109,194,255,.20),
        0 8px 34px rgba(3,31,70,.22) !important;
    padding:10px 0 !important;
}

/* Zeer subtiele technische lijnen in de achtergrond */
.top::before{
    content:"";
    position:absolute;
    z-index:-1;
    inset:0;
    pointer-events:none;
    opacity:.20;
    background:
        linear-gradient(115deg, transparent 0 18%, rgba(68,165,255,.14) 18.1% 18.2%, transparent 18.3% 100%),
        linear-gradient(115deg, transparent 0 66%, rgba(68,165,255,.09) 66.1% 66.2%, transparent 66.3% 100%);
}

/* Lichtlijn onderaan */
.top::after{
    content:"";
    position:absolute;
    z-index:3;
    left:0;
    right:0;
    bottom:0;
    height:3px;
    background:
        linear-gradient(
            90deg,
            rgba(0,93,255,0) 0%,
            #0b70d8 18%,
            #38b6ff 39%,
            #087cff 60%,
            #2caaff 80%,
            rgba(0,93,255,0) 100%
        ) !important;
    box-shadow:0 0 16px rgba(31,157,255,.45);
    opacity:.92 !important;
}

/* Headerinhoud */
.topbar{
    min-height:205px !important;
    align-items:center !important;
    gap:34px !important;
    padding-left:0 !important;
    padding-right:0 !important;
}

/* Het logo bewust meer naar rechts */
.site-brand{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    gap:34px !important;
    min-width:0;
    flex:1 1 auto;
}

.site-brand-logo{
    margin-left:72px !important;
    flex:0 0 auto !important;
}

.site-brand-logo img{
    width:345px !important;
    height:auto !important;
    max-width:none !important;
    max-height:none !important;
    filter:
        drop-shadow(0 8px 18px rgba(0,0,0,.28))
        drop-shadow(0 0 18px rgba(0,117,255,.24)) !important;
}

/* Pagina-titel als echt dashboardonderdeel */
.site-page-title{
    position:relative;
    display:flex !important;
    align-items:center;
    min-height:58px;
    padding-left:28px !important;
    margin-left:0 !important;
    color:#f7fbff !important;
    font-size:26px !important;
    font-weight:750 !important;
    letter-spacing:-.025em;
    line-height:1.15 !important;
    text-shadow:0 2px 10px rgba(0,0,0,.45) !important;
}

.site-page-title::before{
    content:"";
    position:absolute;
    left:0;
    top:9px;
    bottom:9px;
    width:3px;
    border-radius:99px;
    background:linear-gradient(#54c5ff,#087cff);
    box-shadow:0 0 13px rgba(40,166,255,.55);
}

/* Account-/adminnavigatie als nette glass-bar */
.topbar .userbox{
    display:flex !important;
    align-items:center !important;
    gap:14px !important;
    margin-left:auto !important;
    margin-right:34px !important;
    padding:11px 15px !important;
    color:#eaf5ff !important;
    background:rgba(2,15,34,.45) !important;
    border:1px solid rgba(123,194,255,.18) !important;
    border-radius:14px !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.025),
        0 8px 24px rgba(0,0,0,.12);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

.topbar .userbox span{
    color:#dcecff;
    white-space:nowrap;
}

.topbar .userbox b{
    color:#fff;
}

.topbar .userbox a,
.topbar .userbox .linkbtn{
    position:relative;
    color:#f5faff !important;
    text-decoration:none !important;
    font-weight:650;
    padding:6px 8px;
    border-radius:8px;
    transition:background .16s ease,color .16s ease;
}

.topbar .userbox a:hover,
.topbar .userbox .linkbtn:hover{
    color:#fff !important;
    background:rgba(44,159,255,.16) !important;
}

/* Ruimte tussen accounttekst en navigatielinks */
.topbar .userbox span + a,
.topbar .userbox span + form{
    margin-left:3px;
}

/* Tablet */
@media(max-width:1120px){
    .site-brand-logo{
        margin-left:28px !important;
    }
    .site-brand-logo img{
        width:300px !important;
    }
    .site-page-title{
        font-size:22px !important;
        padding-left:22px !important;
    }
    .topbar .userbox{
        margin-right:20px !important;
        gap:8px !important;
    }
}

/* Small laptop/tablet */
@media(max-width:900px){
    .topbar{
        min-height:180px !important;
        gap:20px !important;
    }
    .site-brand-logo{
        margin-left:16px !important;
    }
    .site-brand-logo img{
        width:260px !important;
    }
    .site-page-title{
        font-size:20px !important;
    }
    .topbar .userbox{
        padding:9px 11px !important;
        margin-right:12px !important;
    }
}

/* Mobiel */
@media(max-width:720px){
    .top{
        padding:8px 0 !important;
    }
    .topbar{
        min-height:auto !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:8px !important;
    }
    .site-brand{
        width:100% !important;
        gap:12px !important;
    }
    .site-brand-logo{
        margin-left:10px !important;
    }
    .site-brand-logo img{
        width:225px !important;
    }
    .site-page-title{
        min-height:44px;
        padding-left:16px !important;
        font-size:18px !important;
    }
    .site-page-title::before{
        top:6px;
        bottom:6px;
    }
    .topbar .userbox{
        width:auto !important;
        max-width:calc(100% - 20px);
        margin:2px 10px 7px !important;
        flex-wrap:wrap !important;
        padding:8px 10px !important;
    }
}

@media(max-width:480px){
    .site-brand{
        flex-direction:column !important;
        align-items:flex-start !important;
    }
    .site-brand-logo{
        margin-left:6px !important;
    }
    .site-brand-logo img{
        width:245px !important;
    }
    .site-page-title{
        margin-left:8px !important;
    }
}


/* =========================================================
   V17 - logo aan het begin van de header
   ========================================================= */

/* Header gebruikt nu de volledige schermbreedte */
.top > .wrap,
.top .topbar{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:20px !important;
    padding-right:24px !important;
    box-sizing:border-box !important;
}

/* Logo direct links plaatsen */
.site-brand-logo{
    margin-left:0 !important;
}

/* Titel netjes naast het logo */
.site-brand{
    justify-content:flex-start !important;
}

.site-page-title{
    margin-left:0 !important;
}

/* Gebruikersmenu helemaal rechts */
.topbar .userbox{
    margin-left:auto !important;
    margin-right:0 !important;
}

/* Tablet */
@media(max-width:900px){
    .top > .wrap,
    .top .topbar{
        padding-left:14px !important;
        padding-right:14px !important;
    }
    .site-brand-logo{
        margin-left:0 !important;
    }
}

/* Mobiel */
@media(max-width:720px){
    .top > .wrap,
    .top .topbar{
        padding-left:10px !important;
        padding-right:10px !important;
    }
    .site-brand-logo{
        margin-left:0 !important;
    }
}


/* V18 - stuks duidelijk zichtbaar in optimale route */
.optimized-stop-meta .pieces-meta{
    font-weight:700;
}
.optimized-stop-meta .pieces-meta b{
    display:inline-block;
    min-width:24px;
    padding:2px 7px;
    border-radius:999px;
    background:#e8f3ff;
    color:#0b5fa8;
    text-align:center;
}
