/* ═══════════════════════════════════════════════════════════════
   Lichtkoepel Voorraadbeheer v2.0 — Frontend stijlen
   Stijl: Industrieel-modern, Dutch design, helder & functioneel
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=DM+Mono:wght@400;500&display=swap');

:root {
    --lk-bg:         #f4f5f7;
    --lk-surface:    #ffffff;
    --lk-surface-2:  #f9fafb;
    --lk-border:     #e5e7eb;
    --lk-text:       #111827;
    --lk-text-muted: #6b7280;
    --lk-primary:    #0d6efd;
    --lk-primary-dk: #0a58ca;
    --lk-success:    #16a34a;
    --lk-warning:    #d97706;
    --lk-danger:     #dc2626;
    --lk-ok:         #22c55e;
    --lk-low:        #f59e0b;
    --lk-empty:      #ef4444;
    --lk-radius:     10px;
    --lk-radius-sm:  6px;
    --lk-shadow:     0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.05);
    --lk-shadow-md:  0 4px 20px rgba(0,0,0,.1);
    --lk-font:       'DM Sans', sans-serif;
    --lk-mono:       'DM Mono', monospace;
    --lk-transition: 150ms cubic-bezier(.4,0,.2,1);
}

.lk-wrap *,
.lk-wrap *::before,
.lk-wrap *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.lk-wrap {
    font-family: var(--lk-font);
    color: var(--lk-text);
    background: var(--lk-bg);
    border-radius: var(--lk-radius);
    padding: 0;
    max-width: 980px;
    margin: 0 auto;
    -webkit-font-smoothing: antialiased;
}

/* ── Navigatie ──────────────────────────────────────────────────────────── */

.lk-nav {
    display: flex;
    gap: 0;
    background: var(--lk-surface);
    border-radius: var(--lk-radius) var(--lk-radius) 0 0;
    border-bottom: 2px solid var(--lk-border);
    overflow-x: auto;
    scrollbar-width: none;
}

.lk-nav::-webkit-scrollbar { display: none; }

.lk-nav-btn {
    flex: 0 0 auto;
    padding: 14px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-family: var(--lk-font);
    font-size: 14px;
    font-weight: 500;
    color: var(--lk-text-muted);
    cursor: pointer;
    transition: color var(--lk-transition), border-color var(--lk-transition);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.lk-nav-btn:hover  { color: var(--lk-text); }
.lk-nav-btn.active { color: var(--lk-primary); border-bottom-color: var(--lk-primary); }

.lk-nav-icon { font-size: 16px; }

/* ── Tabs ───────────────────────────────────────────────────────────────── */

.lk-tab { display: none; }
.lk-tab.active { display: block; }

/* ── Section header ─────────────────────────────────────────────────────── */

.lk-section-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 24px 24px 0;
    background: var(--lk-surface);
}

.lk-section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--lk-text);
    flex: 1;
}

.lk-subtitle {
    width: 100%;
    font-size: 14px;
    color: var(--lk-text-muted);
    padding-bottom: 16px;
}

/* ── Jaar filter ────────────────────────────────────────────────────────── */

.lk-year-filter {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.lk-year-btn {
    padding: 5px 12px;
    border-radius: 20px;
    background: var(--lk-surface-2);
    border: 1px solid var(--lk-border);
    font-size: 13px;
    font-weight: 500;
    color: var(--lk-text-muted);
    text-decoration: none;
    transition: all var(--lk-transition);
}

.lk-year-btn:hover { border-color: var(--lk-primary); color: var(--lk-primary); }
.lk-year-btn.active { background: var(--lk-primary); border-color: var(--lk-primary); color: #fff; }

/* ── Voorraad kaarten ───────────────────────────────────────────────────── */

.lk-stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    padding: 20px 24px 24px;
    background: var(--lk-surface);
}

.lk-stock-card {
    background: var(--lk-surface-2);
    border: 1.5px solid var(--lk-border);
    border-radius: var(--lk-radius);
    padding: 16px;
    position: relative;
    transition: transform var(--lk-transition), box-shadow var(--lk-transition);
}

.lk-stock-card:hover { transform: translateY(-2px); box-shadow: var(--lk-shadow-md); }
.lk-stock-card.low   { border-color: var(--lk-low);   background: #fffbeb; }
.lk-stock-card.empty { border-color: var(--lk-empty); background: #fef2f2; opacity: .8; }

.lk-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

.lk-card-year {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--lk-text-muted);
    background: var(--lk-border);
    padding: 2px 7px;
    border-radius: 4px;
}

.lk-stock-badge {
    font-family: var(--lk-mono);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}
.lk-stock-badge.ok    { color: var(--lk-success); }
.lk-stock-badge.low   { color: var(--lk-warning); }
.lk-stock-badge.empty { color: var(--lk-danger); }

.lk-card-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--lk-text);
    margin-bottom: 4px;
    line-height: 1.35;
}

.lk-card-price {
    font-size: 13px;
    font-weight: 500;
    color: var(--lk-text-muted);
    margin-bottom: 8px;
}

.lk-card-status {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--lk-text-muted);
}

.lk-status-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
}
.lk-status-dot.ok    { background: var(--lk-ok); }
.lk-status-dot.low   { background: var(--lk-low); }
.lk-status-dot.empty { background: var(--lk-empty); }

/* ── Bestelformulier ────────────────────────────────────────────────────── */

.lk-form {
    padding: 0 24px 24px;
    background: var(--lk-surface);
}

.lk-form-section {
    border: 1px solid var(--lk-border);
    border-radius: var(--lk-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.lk-form-section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .6px;
    color: var(--lk-text-muted);
    padding: 12px 16px;
    background: var(--lk-surface-2);
    border-bottom: 1px solid var(--lk-border);
}

/* Product rijen in formulier */
.lk-product-rows {
    background: var(--lk-surface);
}

.lk-product-row {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--lk-border);
    gap: 12px;
    transition: background var(--lk-transition);
}

.lk-product-row:last-child { border-bottom: none; }
.lk-product-row:hover { background: var(--lk-surface-2); }

.lk-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lk-product-naam {
    font-size: 14px;
    font-weight: 600;
    color: var(--lk-text);
}

.lk-product-jaar {
    font-size: 11px;
    color: var(--lk-text-muted);
    text-transform: uppercase;
    letter-spacing: .4px;
}

.lk-product-prijs {
    font-size: 12px;
    color: var(--lk-text-muted);
}

.lk-product-stock {
    flex: 0 0 80px;
    text-align: right;
}

.lk-stock-mini {
    font-size: 12px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 12px;
}
.lk-stock-mini.ok    { background: #dcfce7; color: var(--lk-success); }
.lk-stock-mini.low   { background: #fef3c7; color: var(--lk-warning); }
.lk-stock-mini.empty { background: #fee2e2; color: var(--lk-danger);  }

.lk-qty-wrap { flex: 0 0 80px; }

.lk-qty {
    width: 80px;
    padding: 8px 10px;
    border: 1.5px solid var(--lk-border);
    border-radius: var(--lk-radius-sm);
    font-family: var(--lk-mono);
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    color: var(--lk-text);
    background: var(--lk-surface);
    transition: border-color var(--lk-transition);
    -moz-appearance: textfield;
}

.lk-qty::-webkit-inner-spin-button,
.lk-qty::-webkit-outer-spin-button { opacity: 1; }
.lk-qty:focus { border-color: var(--lk-primary); outline: none; }
.lk-qty:disabled { background: var(--lk-surface-2); color: var(--lk-text-muted); }

/* Klantgegevens velden */
.lk-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 16px;
    gap: 16px;
}

.lk-field { display: flex; flex-direction: column; gap: 6px; }
.lk-field-full { grid-column: 1 / -1; }
.lk-field-bron { grid-column: 1 / -1; }

.lk-field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--lk-text);
}

.lk-optional {
    font-size: 11px;
    font-weight: 400;
    color: var(--lk-text-muted);
}

.lk-field input[type="text"],
.lk-field input[type="number"],
.lk-select {
    padding: 10px 12px;
    border: 1.5px solid var(--lk-border);
    border-radius: var(--lk-radius-sm);
    font-family: var(--lk-font);
    font-size: 14px;
    color: var(--lk-text);
    background: var(--lk-surface);
    transition: border-color var(--lk-transition), box-shadow var(--lk-transition);
}

.lk-field input:focus,
.lk-select:focus {
    border-color: var(--lk-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .12);
}

.lk-radio-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.lk-radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--lk-text);
    cursor: pointer;
    padding: 8px 14px;
    border: 1.5px solid var(--lk-border);
    border-radius: var(--lk-radius-sm);
    transition: all var(--lk-transition);
}

.lk-radio-label:hover { border-color: var(--lk-primary); background: #eef2ff; }
.lk-radio-label input[type="radio"] { accent-color: var(--lk-primary); }

/* ── Knoppen ────────────────────────────────────────────────────────────── */

.lk-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--lk-primary);
    color: #fff;
    border: none;
    border-radius: var(--lk-radius-sm);
    font-family: var(--lk-font);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--lk-transition), transform var(--lk-transition);
    margin-top: 4px;
}

.lk-btn-primary:hover   { background: var(--lk-primary-dk); }
.lk-btn-primary:active  { transform: scale(.98); }
.lk-btn-primary:disabled { opacity: .6; cursor: not-allowed; }

/* ── Meldingen ──────────────────────────────────────────────────────────── */

.lk-msg {
    padding: 12px 16px;
    border-radius: var(--lk-radius-sm);
    font-size: 14px;
    font-weight: 500;
    margin: 0 24px 16px;
}

.lk-msg-success { background: #dcfce7; color: var(--lk-success); border: 1px solid #bbf7d0; }
.lk-msg-error   { background: #fee2e2; color: var(--lk-danger);  border: 1px solid #fecaca; }

/* ── Prijscalculator ────────────────────────────────────────────────────── */

.lk-calc-form {
    padding: 20px 24px 24px;
    background: var(--lk-surface);
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 480px;
}

.lk-calc-dims {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.lk-calc-times {
    font-size: 24px;
    font-weight: 300;
    color: var(--lk-text-muted);
    padding-bottom: 10px;
}

.lk-calc-result {
    margin-top: 8px;
}

.lk-calc-result-inner {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1.5px solid #93c5fd;
    border-radius: var(--lk-radius);
    padding: 24px;
    text-align: center;
}

.lk-calc-label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .6px; color: #3b82f6; margin-bottom: 8px; }
.lk-calc-price { font-family: var(--lk-mono); font-size: 42px; font-weight: 500; color: var(--lk-text); letter-spacing: -1px; }
.lk-calc-detail { font-size: 13px; color: var(--lk-text-muted); margin-top: 6px; }

/* ── Bestellingen history ───────────────────────────────────────────────── */

.lk-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 24px 24px;
    background: var(--lk-surface);
}

.lk-history-item {
    background: var(--lk-surface-2);
    border: 1px solid var(--lk-border);
    border-radius: var(--lk-radius-sm);
    padding: 14px 16px;
}

.lk-history-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.lk-history-nr {
    font-family: var(--lk-mono);
    font-size: 13px;
    font-weight: 500;
    color: var(--lk-text);
    background: var(--lk-border);
    padding: 2px 8px;
    border-radius: 4px;
}

.lk-history-bron {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 2px 8px;
    border-radius: 4px;
}
.lk-bron-bol     { background: #fde68a; color: #92400e; }
.lk-bron-webshop { background: #dbeafe; color: #1e3a8a; }
.lk-bron-overig  { background: #e5e7eb; color: #374151; }

.lk-history-datum { font-size: 12px; color: var(--lk-text-muted); margin-left: auto; }
.lk-history-naam  { font-size: 14px; font-weight: 600; color: var(--lk-text); margin-bottom: 6px; }

.lk-history-producten { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.lk-history-regel { font-size: 12px; background: var(--lk-border); padding: 3px 8px; border-radius: 4px; }
.lk-history-regel strong { font-weight: 700; }

.lk-history-opmerking { font-size: 12px; color: var(--lk-text-muted); font-style: italic; margin-top: 4px; }

/* ── Lege staat ──────────────────────────────────────────────────────────── */

.lk-empty {
    padding: 32px;
    text-align: center;
    color: var(--lk-text-muted);
    font-size: 14px;
    background: var(--lk-surface);
}

/* ── Responsief ─────────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .lk-stock-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); padding: 14px; }
    .lk-fields { grid-template-columns: 1fr; }
    .lk-calc-dims { flex-direction: column; }
    .lk-calc-times { display: none; }
    .lk-section-header { flex-direction: column; align-items: flex-start; }
    .lk-nav-btn { padding: 12px 14px; font-size: 13px; }
}

/* ── Zoekbalk bestellingen ──────────────────────────────────────────────── */

.lk-history-search-wrap {
    flex: 1;
    max-width: 360px;
}

.lk-history-search {
    width: 100%;
    padding: 9px 14px;
    border: 1.5px solid var(--lk-border);
    border-radius: 20px;
    font-family: var(--lk-font);
    font-size: 14px;
    color: var(--lk-text);
    background: var(--lk-surface);
    transition: border-color var(--lk-transition);
}

.lk-history-search:focus {
    border-color: var(--lk-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(13,110,253,.1);
}

.lk-history-naam {
    font-size: 15px;
    font-weight: 600;
    color: var(--lk-text);
    margin-bottom: 6px;
}

.lk-subtitle-warn { color: #92400e !important; }


/* ── Calculator breakdown ───────────────────────────────────────────────── */

.lk-calc-row3 {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.lk-calc-row3 .lk-field { flex: 1; min-width: 100px; }
.lk-calc-x2 { flex: 0; }

.lk-calc-result-inner {
    background: var(--lk-surface);
    border: 1.5px solid var(--lk-border);
    border-radius: var(--lk-radius);
    overflow: hidden;
}

.lk-calc-breakdown { padding: 0; }

.lk-calc-breakdown-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 18px;
    border-bottom: 1px solid var(--lk-border);
    font-size: 14px;
}

.lk-calc-breakdown-row:last-child { border-bottom: none; }

.lk-bd-label { color: var(--lk-text-muted); }
.lk-bd-val   { font-family: var(--lk-mono); font-weight: 500; color: var(--lk-text); }

.lk-bd-divider {
    background: var(--lk-surface-2);
    border-top: 2px solid var(--lk-border);
    margin-top: 2px;
}

.lk-bd-divider .lk-bd-label { color: var(--lk-text); }

.lk-bd-total {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--lk-primary) !important;
}

.lk-bd-inkoop { background: #f0fdf4; }
.lk-bd-inkoop .lk-bd-label { color: var(--lk-success); font-size: 13px; }
.lk-bd-inkoop .lk-bd-val   { color: var(--lk-success); }

.lk-bd-incl {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: var(--lk-text) !important;
}

/* ── Calculator secties (accordion) ────────────────────────────────────── */

.lk-calc-sections {
    padding: 16px 24px 24px;
    background: var(--lk-surface);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lk-calc-section {
    border: 1.5px solid var(--lk-border);
    border-radius: var(--lk-radius);
    overflow: hidden;
}

.lk-calc-section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--lk-surface-2);
    border: none;
    cursor: pointer;
    font-family: var(--lk-font);
    font-size: 15px;
    font-weight: 600;
    color: var(--lk-text);
    text-align: left;
    transition: background var(--lk-transition);
}

.lk-calc-section-toggle:hover { background: #f0f4ff; }
.lk-calc-section-toggle.active { background: #eff6ff; border-bottom: 1.5px solid #bfdbfe; }

.lk-cst-icon { font-size: 11px; color: var(--lk-text-muted); flex-shrink: 0; }
.lk-cst-title { flex: 1; }
.lk-cst-sub {
    font-size: 12px;
    font-weight: 400;
    color: var(--lk-text-muted);
}

.lk-calc-section-body { background: var(--lk-surface); }
.lk-calc-section-body .lk-calc-form { padding: 20px; }

/* ─── v3.0: bucket-keuze (consignatie/eigen) in frontend bestelformulier ──── */
.lk-stock-split {
    display: block;
    font-size: 10px;
    color: #6b7280;
    margin-top: 2px;
    font-weight: 500;
}
.lk-bucket-choice {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
}
.lk-bucket-radio {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    padding: 3px 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    transition: all .15s;
}
.lk-bucket-radio:hover { background: #f9fafb; }
.lk-bucket-radio input[type=radio] { margin: 0; }
.lk-bucket-radio:has(input:checked) {
    border-color: #6366f1;
    background: #eef2ff;
    color: #3730a3;
    font-weight: 600;
}

/* ─── v3.2: retour melden via frontend ─────────────────────────────────── */
.lk-retour-search {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}
.lk-retour-zoek-input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}
.lk-retour-resultaten {
    margin-top: 16px;
}
.lk-retour-empty, .lk-retour-loading {
    padding: 24px;
    text-align: center;
    color: #6b7280;
    font-style: italic;
}
.lk-retour-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 12px;
    background: #fff;
    overflow: hidden;
}
.lk-retour-card-header {
    background: #f9fafb;
    padding: 10px 14px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.lk-retour-card-meta {
    font-size: 12px;
    color: #6b7280;
}
.lk-retour-card-regels { padding: 0; }
.lk-retour-regel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    border-bottom: 1px solid #f3f4f6;
    flex-wrap: wrap;
    gap: 12px;
}
.lk-retour-regel:last-child { border-bottom: none; }
.lk-retour-regel-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.lk-retour-product {
    font-weight: 600;
    color: #111827;
}
.lk-retour-aantallen {
    font-size: 13px;
    color: #6b7280;
}
.lk-retour-al { color: #92400e; font-weight: 500; }
.lk-retour-volledig {
    font-size: 12px;
    color: #6b7280;
    font-style: italic;
}
.lk-retour-form {
    background: #f9fafb;
    padding: 16px;
    border-top: 1px solid #e5e7eb;
}
.lk-retour-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.lk-retour-form-grid label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 13px;
    color: #4b5563;
    font-weight: 500;
}
.lk-retour-form-grid input,
.lk-retour-form-grid select {
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
}
.lk-retour-beschadigd-wrap,
.lk-retour-opm-wrap {
    grid-column: 1 / -1;
}
.lk-retour-beschadigd-wrap {
    flex-direction: row !important;
    align-items: center;
    gap: 8px !important;
    cursor: pointer;
    padding: 8px 10px;
    background: #fef3c7;
    border-radius: 6px;
    color: #92400e;
}
.lk-retour-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.lk-btn-secondary {
    background: #f3f4f6;
    color: #374151;
    padding: 10px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
}
.lk-btn-secondary:hover { background: #e5e7eb; }

@media (max-width: 600px) {
    .lk-retour-search { flex-direction: column; }
    .lk-retour-form-grid { grid-template-columns: 1fr; }
    .lk-retour-regel { flex-direction: column; align-items: stretch; }
}

/* ── Shopware backorder-markering & ophaalknop (v3.5) ───────────────────── */
.lk-history-backorder { border-left: 4px solid #dc2626; }
.lk-history-backorder-badge {
    display: inline-block;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 11px;
    font-weight: 700;
    padding: 1px 7px;
    border-radius: 10px;
    margin-left: 4px;
}
.lk-pull-result { font-size: 13px; font-weight: 600; }
.lk-pull-result.ok  { color: #16a34a; }
.lk-pull-result.err { color: #dc2626; }

/* ─── DPD verzendlabels (frontend, v4.2) ───────────────────────────────── */
.lk-dpd-toolbar {
    display:flex; align-items:center; gap:12px; flex-wrap:wrap;
    margin:14px 0; padding:12px 16px; background:#fff;
    border:1px solid #e5e7eb; border-radius:12px;
}
.lk-fe-status-filter { display:flex; gap:6px; flex-wrap:wrap; }
.lk-chip {
    border:1px solid #d1d5db; background:#f9fafb; color:#374151;
    border-radius:999px; padding:4px 12px; font-size:13px; cursor:pointer;
}
.lk-chip.active { background:#0f766e; color:#fff; border-color:#0f766e; }
.lk-fe-dpd-count { color:#6b7280; font-size:13px; }
.lk-fe-dpd-hint  { color:#9ca3af; }
.lk-verzend-badge {
    display:inline-block; padding:2px 9px; border-radius:999px;
    font-size:12px; font-weight:600;
}
.lk-verzend-ja  { background:#dcfce7; color:#166534; }
.lk-verzend-nee { background:#fef3c7; color:#92400e; }
.lk-btn-secondary {
    border:1px solid #d1d5db; background:#fff; color:#374151;
    border-radius:8px; padding:8px 14px; cursor:pointer; font-weight:500;
}
.lk-btn-secondary[disabled], #lk-fe-dpd-export[disabled] { opacity:.5; cursor:not-allowed; }
