/* Intranet-specifieke opmaak, bovenop de gedeelde Greving-huisstijl. */

.admin-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 24px 16px 64px;
}

/* Balk bovenaan op de testomgeving (INTRANET_STAGING=true in de .env) */
.staging-banner {
    background: repeating-linear-gradient(135deg, #E8590C, #E8590C 24px, #D9480F 24px, #D9480F 48px);
    color: #fff;
    text-align: center;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 15px;
}
.staging-banner a { color: #fff; text-decoration: underline; }
.staging-banner .fa-triangle-exclamation { margin-right: 6px; }

/* Topbar */
.topbar {
    display: flex;
    align-items: center;
    gap: 24px;
    background: var(--brand-primary, #0E2050);
    color: #fff;
    padding: 10px 20px;
    flex-wrap: wrap;
}
.topbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
}
/* Vaste afmetingen zodat de navbar niet verschuift terwijl het logo laadt. */
.topbar-logo { width: 107px; height: 26px; object-fit: contain; }
.topbar-title { font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 14px; }
.topbar-nav { display: flex; gap: 4px; flex: 1; }
.topbar-nav a {
    color: #D7DFF0;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 15px;
}
.topbar-nav a:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.topbar-nav a.active { background: rgba(255, 255, 255, 0.14); color: #fff; font-weight: 600; }
.topbar-user { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.topbar-branch { color: #A9B6D6; }
.btn-link {
    background: none;
    border: none;
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 4px;
}

/* Login */
.login-wrap { display: flex; justify-content: center; padding: 64px 16px; }
.login-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(14, 32, 80, 0.12);
    padding: 36px 32px;
    width: 100%;
    max-width: 420px;
    text-align: center;
}
.login-logo { max-width: 220px; margin-bottom: 12px; }
.login-card h1 { margin: 0 0 4px; color: var(--brand-primary, #0E2050); letter-spacing: 3px; text-transform: uppercase; font-size: 20px; }
.login-sub { color: #5A6278; margin: 0 0 24px; }
.login-card form { text-align: left; }
.field-label { display: block; font-weight: 600; margin: 14px 0 6px; color: #151D38; }
.checkbox-inline { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; color: #5A6278; white-space: nowrap; cursor: pointer; }
.checkbox-inline input { cursor: pointer; }
.btn-block { width: 100%; margin-top: 20px; }
.form-error {
    background: #FDECEC;
    color: #B3261E;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 14px;
    font-size: 14px;
}

/* Dashboard-tegels (kaartontwerp: icoon in cirkel links, label rechts, hoekvormen) */
.page-title { color: var(--brand-primary, #0E2050); }
.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 24px; }
.tile {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 22px;
    min-height: 132px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 22px rgba(14, 32, 80, 0.10);
    padding: 26px 28px;
    text-decoration: none;
    color: #151D38;
    text-align: left;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
}
a.tile:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(14, 32, 80, 0.16); }
.tile-icon {
    flex: 0 0 82px;
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background: #E4ECF8;
    color: var(--brand-primary, #0E2050);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    position: relative;
    z-index: 1;
}
.tile-label {
    font-weight: 600;
    color: var(--brand-primary, #0E2050);
    font-size: 16px;
    line-height: 1.35;
    position: relative;
    z-index: 1;
    padding-left: 22px;
}
/* Dun scheidingslijntje tussen icoon en label, zoals in het ontwerp */
.tile-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 58px;
    background: #E4E9F2;
}
.tile-soon { opacity: 0.55; }
.tile-soon small { font-weight: 400; color: #5A6278; }

/* Decoratieve vormen per kaart (kleuren: heel licht, periwinkle en navy) */
.tile::after {
    content: '';
    position: absolute;
    z-index: 0;
    border-radius: 50%;
    background: #DFE8F6;
    width: 230px;
    height: 230px;
    right: -130px;
    bottom: -100px;
}
/* Geen vorm */
.tile-shape-none::after { content: none; }
/* Grote zachte cirkel, half buiten beeld (Bedrijven) */
.tile-shape-circle::after { width: 230px; height: 230px; right: -130px; bottom: -100px; background: #DCE6F5; }
/* Strakke navy kwartcirkel in de hoek (Vestigingen, Beheer) */
.tile-shape-corner::after { width: 150px; height: 150px; right: -75px; bottom: -75px; background: var(--brand-primary, #0E2050); }
/* Golf met kronkel (S-bocht) over de rechterkant: vloeiende SVG-vorm als masker */
.tile-shape-wave::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: auto;
    width: 150px;
    height: 100%;
    border-radius: 0;
    transform: none;
    background: #DCE6F5;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 134' preserveAspectRatio='none'><path d='M150,0 C122,6 100,24 96,48 C93,68 104,84 96,102 C88,120 70,130 48,134 L150,134 Z'/></svg>") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 134' preserveAspectRatio='none'><path d='M150,0 C122,6 100,24 96,48 C93,68 104,84 96,102 C88,120 70,130 48,134 L150,134 Z'/></svg>") center / 100% 100% no-repeat;
}
/* Ons team: bocht die hoger bolt en breder uitloopt */
.tile-shape-wave-blue::after {
    background: #8FA9D8;
    width: 140px;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 134' preserveAspectRatio='none'><path d='M150,0 C120,4 100,16 98,38 C96,58 112,72 106,94 C100,114 82,126 56,134 L150,134 Z'/></svg>") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 134' preserveAspectRatio='none'><path d='M150,0 C120,4 100,16 98,38 C96,58 112,72 106,94 C100,114 82,126 56,134 L150,134 Z'/></svg>") center / 100% 100% no-repeat;
}
/* Team Greving: smaller en steiler */
.tile-shape-wave-navy::after {
    background: var(--brand-primary, #0E2050);
    width: 110px;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 134' preserveAspectRatio='none'><path d='M150,0 C124,8 108,22 108,46 C108,68 118,82 110,102 C103,118 86,128 66,134 L150,134 Z'/></svg>") center / 100% 100% no-repeat;
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 134' preserveAspectRatio='none'><path d='M150,0 C124,8 108,22 108,46 C108,68 118,82 110,102 C103,118 86,128 66,134 L150,134 Z'/></svg>") center / 100% 100% no-repeat;
}

/* Lenzenteller: donkerblauw blok links met bolle rechterrand + lichte golf rechtsonder */
.tile-lens { padding: 0; gap: 0; }
/* Hol (concaaf) licht vlak in de hoek rechtsonder */
.tile-lens::after {
    width: 240px;
    height: 140px;
    right: 0;
    bottom: 0;
    border-radius: 0;
    background: radial-gradient(circle 247px at 40px -90px, #ffffff 0 246px, #DCE6F5 247px);
}
.tile-lens .tile-count {
    align-self: stretch;
    flex: 0 0 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-primary, #0E2050);
    color: #fff;
    font-size: 100px;
    line-height: 1;
    font-weight: 700;
    border-radius: 20px 0 0 20px;
    position: relative;
    z-index: 1;
}
/* Bolling in het midden van de rechterrand (D-vorm zoals in het ontwerp) */
.tile-lens .tile-count::after {
    content: '';
    position: absolute;
    right: -24px;
    top: -40%;
    width: 48px;
    height: 140%;
    border-radius: 50%;
    background: var(--brand-primary, #0E2050);
}
.tile-lens .tile-label { padding: 24px 20px 24px 46px; }
.tile-lens .tile-label::before { content: none; }

/* Overzicht */
.page-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.filters { display: flex; gap: 10px; }
.input-select { min-width: 180px; }
.empty-state { color: #5A6278; padding: 32px 0; }

.data-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 18px rgba(14, 32, 80, 0.08); margin-top: 16px; }
.data-table th { text-align: left; background: #E8ECF4; color: #0E2050; padding: 12px 14px; font-size: 14px; }
.data-table td { padding: 12px 14px; border-top: 1px solid #EEF1F7; font-size: 15px; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.badge-new { background: #E5F0FF; color: #0B4EB3; }
.badge-sent_to_supplier { background: #E6F6EA; color: #1B7B34; }
.badge-cancelled { background: #FDECEC; color: #B3261E; }

/* Knoppen */
.btn {
    display: inline-block;
    background: #E8ECF4;
    color: #0E2050;
    border: none;
    border-radius: 10px;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: filter 0.12s ease;
}
.btn:hover { filter: brightness(0.95); }
.btn-primary { background: var(--brand-primary, #0E2050); color: #fff; }
.btn-primary:hover { filter: brightness(1.15); }
.btn-small { padding: 6px 14px; font-size: 14px; }
.btn-danger { background: #B3261E; color: #fff; }

/* Detail */
.back-link { display: inline-block; margin-bottom: 10px; color: #0B4EB3; text-decoration: none; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.detail-card { background: #fff; border-radius: 14px; box-shadow: 0 4px 18px rgba(14, 32, 80, 0.08); padding: 22px; }
.detail-card h2 { margin: 0 0 14px; font-size: 17px; color: var(--brand-primary, #0E2050); }
.detail-list { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; }
.detail-list dt { color: #5A6278; font-size: 14px; }
.detail-list dd { margin: 0; font-size: 15px; }
.status-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }

.flash { border-radius: 10px; padding: 12px 14px; margin: 12px 0; font-size: 15px; }
.flash-ok { background: #E6F6EA; color: #1B7B34; }
.flash-error { background: #FDECEC; color: #B3261E; }

/* Vestigingen */
.branch-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 18px; }
.branch-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(14, 32, 80, 0.08); }
.branch-photo { width: 100%; height: 160px; object-fit: cover; display: block; }
.branch-body { padding: 16px 18px 18px; }
.branch-body h2 { margin: 0 0 6px; font-size: 18px; color: var(--brand-primary, #0E2050); }
.branch-address { color: #5A6278; font-size: 14px; margin: 0 0 10px; }
.branch-body a { color: #0B4EB3; text-decoration: none; }
.branch-body details { margin-top: 8px; }
.branch-body summary { cursor: pointer; color: #0E2050; font-weight: 600; font-size: 14px; }
.branch-opening { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: #151D38; }

/* Ideeënbus */
.ideas-layout { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 18px; align-items: start; margin-top: 18px; }
@media (max-width: 800px) { .ideas-layout { grid-template-columns: 1fr; } }
.ideas-layout-single { grid-template-columns: minmax(280px, 520px); }
.idea-form h2 { margin-top: 0; }
.input-textarea { resize: vertical; min-height: 110px; }
.ideas-heading { margin: 0 0 4px; font-size: 17px; color: var(--brand-primary, #0E2050); }
.idea-card { margin-bottom: 12px; }
.idea-card h3 { margin: 0 0 8px; font-size: 16px; color: #151D38; }
.idea-body { margin: 0 0 10px; white-space: pre-line; }
.idea-meta { margin: 0; color: #5A6278; font-size: 13px; }

/* Interne bestellingen */
.page-intro { color: #5A6278; margin-top: -6px; }
.supply-table td { padding: 8px 14px; }
.qty-col { width: 110px; text-align: center; }
.qty-input { width: 90px; text-align: center; padding: 6px 8px; }
.product-code { color: #8A93AB; font-size: 12px; margin-left: 6px; }
.form-actions { margin-top: 18px; }
.reference-input { max-width: 320px; margin-bottom: 14px; }
.branch-select { max-width: 320px; margin-bottom: 14px; display: block; }
.matrix-scroll { overflow-x: auto; }
.matrix-table th, .matrix-table td { padding: 4px 6px; text-align: center; }
.matrix-table .sphere-col { text-align: right; white-space: nowrap; background: #E8ECF4; color: #0E2050; min-width: 74px; }
.matrix-input { width: 58px; padding: 4px 4px; }
.rx-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 12px; }
@media (max-width: 640px) { .rx-grid { grid-template-columns: 1fr; } }
.rx-grid fieldset { border: 1px solid #E1E6F0; border-radius: 10px; padding: 12px 16px 16px; }
.rx-grid legend { font-weight: 600; color: #0E2050; padding: 0 6px; }
.dagas4-form { max-width: 720px; }

/* Documentlijsten (personeel/bedrijven) */
.doc-list { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.doc-item { display: flex; align-items: center; gap: 14px; background: #FFFFFF; border: 1px solid #E1E6F0; border-radius: 10px; padding: 14px 18px; text-decoration: none; color: #1B2334; transition: border-color .15s ease, box-shadow .15s ease; }
.doc-item:hover { border-color: #F39200; box-shadow: 0 2px 8px rgba(14, 32, 80, .08); }
.doc-icon { font-size: 24px; }
.doc-item strong { display: block; color: #0E2050; }
.doc-item small { color: #8A93AB; }

/* Inhoudspagina's (reglementen) */
.content-page { max-width: 800px; line-height: 1.65; }
.content-page h2 { color: #0E2050; margin: 22px 0 8px; font-size: 19px; }
.content-page h3 { color: #0E2050; margin: 16px 0 6px; font-size: 16px; }
.content-page ul, .content-page ol { padding-left: 22px; }
.content-page li { margin-bottom: 6px; }
.content-version { color: #8A93AB; font-size: 13px; margin-top: 24px; }

/* Smoelenboek */
.group-title { color: #0E2050; margin: 28px 0 12px; border-bottom: 2px solid #F39200; display: inline-block; padding-bottom: 4px; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.person-card { background: #FFFFFF; border: 1px solid #E1E6F0; border-radius: 10px; padding: 14px; text-align: center; }
.person-photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-bottom: 10px; }
.person-photo-empty { display: flex; align-items: center; justify-content: center; font-size: 44px; background: #E8ECF4; margin-left: auto; margin-right: auto; }
.person-name { font-weight: 600; color: #0E2050; }
.person-role { color: #5A6278; font-size: 13px; margin-top: 2px; }
.person-since { color: #8A93AB; font-size: 12px; margin-top: 4px; }

.tile-disabled { opacity: .55; cursor: default; }
.tile-disabled small { display: block; font-size: 11px; color: #8A93AB; }

/* Fotoalbum */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 20px; }
.album-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(14, 32, 80, 0.08); text-decoration: none; color: #151D38; transition: transform 0.12s ease; }
.album-card:hover { transform: translateY(-2px); }
.album-cover { width: 100%; height: 170px; object-fit: cover; display: block; }
.album-cover-empty { display: flex; align-items: center; justify-content: center; font-size: 44px; background: #E8ECF4; }
.album-info { padding: 12px 16px 14px; }
.album-title { font-weight: 600; color: #0E2050; }
.album-meta { color: #8A93AB; font-size: 13px; margin-top: 2px; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 16px; }
.photo-item { display: block; border-radius: 10px; overflow: hidden; background: #fff; box-shadow: 0 2px 10px rgba(14, 32, 80, 0.08); }
.photo-item img { width: 100%; height: 180px; object-fit: cover; display: block; }
.photo-item-admin { position: relative; }
.photo-delete { position: absolute; right: 8px; bottom: 8px; }
.field-spacing { margin-top: 14px; }
.album-description { resize: vertical; min-height: 90px; font-family: inherit; }

/* Beheer */
.nav-admin { border: 1px solid rgba(255, 255, 255, 0.35); }
.category-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 4px; }
.category-tab { padding: 8px 14px; border-radius: 999px; border: 1px solid #D3DAE8; background: #fff; color: #0E2050; text-decoration: none; font-size: 14px; }
.category-tab.active { background: var(--brand-primary, #0E2050); color: #fff; border-color: var(--brand-primary, #0E2050); }
.admin-table td { vertical-align: middle; }
.admin-table .input { padding: 7px 10px; font-size: 14px; }
.code-col { width: 100px; }
.sort-col { width: 100px; }
.sort-col .input { min-width: 64px; }
.active-col { width: 70px; text-align: center; }
.actions-col { white-space: nowrap; text-align: right; }
.actions-col .btn { margin-left: 6px; }
.inline-form { display: inline; }

/* Accountbeheer: velden genoeg ruimte geven; op smalle schermen scrollt de tabel */
.accounts-scroll { overflow-x: auto; }
.accounts-table .input { min-width: 130px; }
.accounts-table td:first-child .input { min-width: 170px; }
.accounts-table td { white-space: nowrap; }
.admin-subtitle { color: #0E2050; margin: 28px 0 10px; }
.add-form { max-width: 860px; }
.add-form-grid { display: grid; grid-template-columns: 1fr 140px 140px; gap: 14px; }
@media (max-width: 640px) { .add-form-grid { grid-template-columns: 1fr; } }

/* Nieuw account (accountbeheer): ruime grid van drie gelijke kolommen. */
.account-form { max-width: 1020px; }
.account-form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 20px; align-items: start; }
.account-form-grid .field-label { margin-top: 0; }
.account-form-grid > div { padding-bottom: 8px; }
.account-form .input { width: 100%; box-sizing: border-box; }
.account-form .btn { margin-top: 10px; }
.account-form-grid .checkbox-inline { margin-top: 12px; }
@media (max-width: 860px) { .account-form-grid { grid-template-columns: 1fr; } }
.person-form { max-width: 560px; }
.person-photo-preview { display: block; margin-bottom: 10px; }
.order-card .order-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.order-card h3 { margin: 0 0 4px; color: #0E2050; }
.order-lines { margin: 10px 0 0; padding-left: 20px; }
.order-lines li { margin-bottom: 4px; }
.order-card-muted { opacity: .75; }
.order-actions { display: flex; gap: 8px; align-items: center; }

/* Verwerking interne bestellingen (hoofdkantoor) */
.orders-section-title { display: flex; align-items: center; gap: 10px; margin: 28px 0 12px; font-size: 18px; color: #0E2050; }
.orders-section-sub { font-weight: 400; font-size: 14px; color: #8A93AB; }
.status-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 13px; font-weight: 700; }
.status-new { background: #FDEBD2; color: #B36A00; }
.status-packed { background: #D9E9FB; color: #1D5FA8; }
.status-completed { background: #DDF2E1; color: #1E7A38; }
.order-short-note { color: #B36A00; font-weight: 600; }
.orders-archive summary { cursor: pointer; color: #5A6278; margin-bottom: 12px; }
.status-lines { background: #fff; border: 1px solid #E1E6F0; border-radius: 12px; overflow: hidden; margin: 0 0 10px; max-width: 720px; }
.status-line { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid #EEF1F6; font-size: 15px; }
.status-line:last-child { border-bottom: 0; }
.status-dot { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: #C4CCDD; }
.status-line-item { flex: 1 1 auto; color: #33405E; }
.status-line-qty { flex: 0 0 auto; white-space: nowrap; color: #8A93AB; }
.status-line-full .status-dot, .status-dot-full { background: #2FA352; }
.status-line-partial .status-dot, .status-dot-partial { background: #F39200; }
.status-line-partial .status-line-qty { color: #B36A00; font-weight: 700; }
.status-line-none .status-dot, .status-dot-none { background: #D64545; }
.status-line-none .status-line-qty { color: #B02A2A; font-weight: 700; }
.status-legend { display: flex; align-items: center; gap: 8px; color: #8A93AB; font-size: 13px; margin: 0 0 24px; }
.status-legend .status-dot { width: 8px; height: 8px; }

/* Voorraad magazijn */
.stock-list { background: #fff; border: 1px solid #E1E6F0; border-radius: 12px; overflow: hidden; max-width: 720px; margin-bottom: 8px; }
.stock-row { padding: 14px 18px; border-bottom: 1px solid #EEF1F6; }
.stock-row:last-child { border-bottom: 0; }
.stock-row-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.stock-name { color: #33405E; font-size: 15px; }
.stock-amount { white-space: nowrap; font-size: 14px; color: #8A93AB; }
.stock-amount-low { color: #B36A00; font-weight: 700; }
.stock-amount-none { color: #B02A2A; font-weight: 700; }
.stock-bar { height: 8px; border-radius: 999px; background: #EEF1F6; overflow: hidden; }
.stock-bar-fill { height: 100%; border-radius: 999px; transition: width .2s ease; }
.stock-bar-ok { background: #2FA352; }
.stock-bar-low { background: #F39200; }
.stock-bar-none { background: #D64545; }

/* Voorraad in artikelbeheer en bestelformulier */
.stock-col { text-align: center; }
.stock-count { font-weight: 700; color: #0E2050; }
.stock-count.stock-low { color: #B36A00; }
.stock-count.stock-out { color: #B02A2A; }
.restock-inline { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.restock-box { min-width: 96px; text-align: center; font-size: 14px; font-weight: 700; color: #8A93AB; }
.stock-edit-toggle { margin-left: auto; background: none; border: 0; color: #1D5FA8; font-size: 14px; cursor: pointer; padding: 8px 0; text-decoration: underline; }
.stock-edit { display: flex; align-items: flex-end; gap: 12px; margin-top: 10px; padding: 12px; border-radius: 10px; background: #F2F5FA; }
.stock-edit[hidden] { display: none; }
.stock-edit-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 700; color: #5A6482; }
.stock-edit-field .input { width: 110px; }
.stock-hint { color: #8A93AB; font-size: 13px; max-width: 720px; margin-top: 10px; }
.row-out-of-stock td { color: #A6ADC2; }
.out-of-stock-badge { display: inline-block; margin-left: 8px; padding: 2px 10px; border-radius: 999px; background: #FDEDED; color: #B02A2A; font-size: 12px; font-weight: 700; }
.order-show-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }

/* Pickrij (tablet): grote tikvlakken, geen typwerk */
.pick-row { background: #fff; border: 2px solid #E1E6F0; border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.pick-main { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; background: none; border: 0; cursor: pointer; text-align: left; font: inherit; }
.pick-check { flex: 0 0 auto; width: 30px; height: 30px; border: 2px solid #C4CCDD; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-size: 18px; color: #fff; }
.pick-item { flex: 1 1 auto; font-size: 17px; color: #1B2334; }
.pick-qty { flex: 0 0 auto; font-size: 17px; font-weight: 700; color: #0E2050; white-space: nowrap; }
.pick-full { border-color: #1E7A38; background: #F2FBF4; }
.pick-full .pick-check { background: #1E7A38; border-color: #1E7A38; }
.pick-full .pick-check::after { content: '\2713'; }
.pick-partial { border-color: #F39200; background: #FFF8EE; }
.pick-partial .pick-check { background: #F39200; border-color: #F39200; }
.pick-partial .pick-check::after { content: '\00BD'; }
.pick-tools { display: flex; align-items: center; gap: 14px; padding: 0 18px 12px; }
.pick-adjust-toggle { background: none; border: 0; color: #1D5FA8; font-size: 14px; cursor: pointer; padding: 6px 0; text-decoration: underline; }
.pick-stepper { display: inline-flex; align-items: center; gap: 14px; }
.stepper-btn { width: 48px; height: 48px; border-radius: 10px; border: 2px solid #C4CCDD; background: #fff; font-size: 24px; font-weight: 700; color: #0E2050; cursor: pointer; }
.stepper-btn:active { background: #E8ECF4; }
.stepper-value { min-width: 34px; text-align: center; font-size: 20px; font-weight: 700; color: #0E2050; }
.btn-finish { margin-top: 18px; padding: 16px; font-size: 17px; }

/* Print: alleen de bestelling zelf, geen knoppen/navigatie */
@media print {
    .topbar, .no-print, .flash { display: none !important; }
    body { background: #fff; }
    .pick-row { border: 1px solid #999; border-radius: 0; margin-bottom: 0; page-break-inside: avoid; }
    .pick-check { border: 1px solid #333; border-radius: 0; }
    .pick-full .pick-check, .pick-partial .pick-check { background: none; color: #000; }
}
