:root{
  /* Exacte logo kleuren */
  --brand-dark: #0F6B5A;
  --brand-mid:  #2E8B57;
  --brand-light:#8DC63F;
  --brand-soft: #A8D5BA;

  --bg: #f4f7f6;
  --panel: #ffffff;
  --border: #e3ece8;
  --text: #0f172a;
  --muted: #5f7d75;

  --shadow: 0 14px 28px rgba(15,107,90,.10);
  --radius: 16px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1200px 520px at 10% -10%, rgba(141,198,63,.16), transparent 60%),
    radial-gradient(1000px 420px at 90% -5%, rgba(46,139,87,.12), transparent 60%),
    var(--bg);
  color:var(--text);
}

.nav-menu{
 display:flex;
 gap:8px;
 margin-right:10px;
}

.nav-menu{
  display:flex;
  gap:8px;
  margin-right:10px;
}

.nav-menu .btn.active{
  background: var(--brand-dark);
  color: #fff;
  border-color: rgba(0,0,0,0);
}

/* Header */
.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  padding:14px 18px;
  background:#fff;
  border-bottom:2px solid var(--brand-soft);
}

.brand{
  display:flex;
  align-items:center;
  gap:14px;
}
.brand-logo{
  height:48px;
  width:auto;
  display:block;
}
.title{
  font-size:22px;
  font-weight:900;
  color:var(--brand-dark);
  letter-spacing:.2px;
}
.subtitle{
  font-size:13px;
  color:var(--muted);
  margin-top:2px;
}

.topbar-right{
  display:flex;
  gap:10px;
  align-items:flex-end;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.whoami{
  font-size:12px;
  color:var(--muted);
  padding:6px 10px;
  border:1px solid rgba(46,139,87,.18);
  border-radius:999px;
  background: rgba(168,213,186,.12);
}

.control-group{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.control-group label{
  font-size:12px;
  color:var(--muted);
}

input, select, button{
  font-family: inherit;
}

.control-group input,
.truck-name,
.list-header .truck-meta input,
.list-header .truck-meta select,
.card-bottom input{
  border: 1px solid rgba(46,139,87,.28);
  border-radius: 12px;
  padding: 8px 12px;
  font-weight: 800;
  color: var(--brand-dark);
  background: #fff;
  outline: none;
}

.control-group input{
  height:38px;
  min-width:190px;
}

.control-group input:focus,
.truck-name:focus,
.list-header .truck-meta input:focus,
.list-header .truck-meta select:focus,
.card-bottom input:focus{
  border-color: rgba(46,139,87,.65);
  box-shadow: 0 0 0 4px rgba(46,139,87,.14);
}

/* Buttons */
.btn{
  height:38px;
  padding:0 16px;
  border-radius:12px;
  border:1px solid rgba(46,139,87,.30);
  background:#fff;
  cursor:pointer;
  font-weight:900;
  color:var(--brand-dark);
  transition: background .12s ease, transform .06s ease, border-color .12s ease;
}
.btn:hover{
  background: rgba(168,213,186,.18);
  border-color: rgba(46,139,87,.45);
}
.btn:active{ transform: translateY(1px); }

.btn.primary{
  background: linear-gradient(135deg, var(--brand-light), var(--brand-mid));
  border: none;
  color: #fff;
}
.btn.primary:hover{
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-dark));
}

.btn.danger{
  border-color: rgba(239,68,68,.65);
  color:#b91c1c;
  background:#fff;
}
.btn.danger:hover{ background:#fff1f2; }

/* Layout */
.wrap{ padding: 20px; }
.board{
  display:flex;
  gap:18px;
  align-items:flex-start;
  overflow-x:auto;
  padding-bottom: 12px;
}
.trucks-host{
  display:flex;
  gap:18px;
  align-items:flex-start;
}

/* Lists */
.list{
  width: 380px;
  min-width: 380px;
  background: var(--panel);
  border: 1px solid rgba(46,139,87,.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.list-header{
  padding: 14px;
  border-bottom: 1px solid rgba(46,139,87,.16);
  background: linear-gradient(180deg, #fff, rgba(168,213,186,.18));
}
.list-title-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}
.list-title{
  font-weight: 900;
  font-size: 16px;
  color: var(--brand-dark);
}
.list-subtitle{
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}
.pill{
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(46,139,87,.12);
  border: 1px solid rgba(46,139,87,.25);
  color: var(--brand-dark);
}
.list-body{ padding: 14px; }

/* Dropzone */
.dropzone{
  display:flex;
  flex-direction:column;
  gap:12px;
  min-height: 70px;
}
.dropzone.drag-over{
  outline: 2px solid rgba(46,139,87,.35);
  outline-offset: 6px;
  border-radius: 14px;
}
.empty{
  border: 1px dashed rgba(46,139,87,.35);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  color: var(--brand-dark);
  background: rgba(46,139,87,.06);
  font-size: 13px;
}

/* Cards */
.card{
  background: #fff;
  border: 1px solid rgba(46,139,87,.22);
  border-radius: 14px;
  padding: 12px;
  cursor: grab;
  user-select: none;
  box-shadow: 0 6px 14px rgba(15,107,90,.06);
}
.card:hover{ border-color: rgba(46,139,87,.45); }
.card.dragging{ opacity: .45; }
.card-top{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}
.card-code{
  font-weight: 950;
  font-size: 14px;
  color: var(--brand-dark);
  letter-spacing: .2px;
}
.card-carts{
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.card-actions{
  display:flex;
  gap:8px;
  flex-shrink: 0;
}
.icon-btn{
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(46,139,87,.25);
  background: #fff;
  cursor: pointer;
  font-weight: 950;
  line-height: 1;
  color: var(--brand-dark);
}
.icon-btn:hover{
  background: rgba(141,198,63,.14);
  border-color: rgba(46,139,87,.40);
}
.card-bottom{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.card-bottom label{
  font-size: 12px;
  color: var(--muted);
}

.truck-name{
  height: 38px;
  width: 100%;
  font-weight: 950;
}

/* Truck meta */
.list-header .truck-meta{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
@media (max-width: 1100px){
  .list-header .truck-meta{ grid-template-columns: 1fr; }
}
.list-header .truck-meta .field{
  display:flex;
  flex-direction:column;
  gap:6px;
  min-width:0;
}
.list-header .truck-meta label{
  font-size:12px;
  color:var(--muted);
}
.list-tools{
  margin-top: 12px;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  align-items:center;
}

/* Export button */
.export-btn{
  height: 38px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(46,139,87,.35);
  background: rgba(141,198,63,.14);
  cursor: pointer;
  font-weight: 950;
  color: var(--brand-dark);
  transition: background .12s ease, border-color .12s ease, transform .06s ease;
}
.export-btn:hover{
  background: linear-gradient(135deg, var(--brand-light), var(--brand-mid));
  border-color: rgba(46,139,87,.45);
  color:#fff;
}
.export-btn:active{ transform: translateY(1px); }