/* =========================================
   CODE29 - KOPER & GREEP STYLING (V3.6)
   ========================================= */

:root {
    --brand-gold: #c58f56;       /* De Koper kleur */
    --brand-gold-dark: #a37343;  /* Iets donkerder voor hover */
    --brand-dark: #1a1a1a;       /* Chique zwart/grijs */
    --brand-light: #f9f5f0;      /* Heel licht beige achtergrondje */
}

/* Basis fonts */
body {
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
    font-family: 'Roboto', sans-serif;
}

/* KOPEREN KNOPPEN */
.btn-gold {
    background-color: var(--brand-gold);
    color: white;
    transition: all 0.2s;
}
.btn-gold:hover {
    background-color: var(--brand-gold-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
.btn-gold:disabled {
    background-color: #ccc;
    transform: none;
    box-shadow: none;
    cursor: not-allowed;
}

/* TABBLADEN */
.tab-btn {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #888;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    background: transparent;
    cursor: pointer;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.tab-btn:hover { color: var(--brand-gold); }
.tab-btn.active { 
    color: var(--brand-gold); 
    border-bottom-color: var(--brand-gold); 
    font-weight: bold;
}

/* DRAGGABLE ITEMS */
.draggable-item {
    background: white;
    border: 1px solid #e5e7eb;
    padding: 1rem 0.75rem;
    border-radius: 0.5rem;
    cursor: grab;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.1s, box-shadow 0.2s, border-color 0.2s;
    user-select: none;
    margin-bottom: 10px;
    touch-action: pan-y;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.draggable-item:active { cursor: grabbing; }
.draggable-item:hover { border-color: var(--brand-gold); }

.draggable-item.dragging {
    opacity: 0.6;
    background-color: #fff8f0; 
    border: 2px dashed var(--brand-gold);
    transform: scale(0.98);
}

/* NUMMERING (Goud ipv Blauw) */
#target-list { counter-reset: ranking; }
#target-list .draggable-item {
    position: relative;
    padding-left: 3rem;
    border-left: 4px solid var(--brand-gold);
}
#target-list .draggable-item::before {
    counter-increment: ranking;
    content: counter(ranking);
    position: absolute;
    left: 0.5rem; top: 50%; transform: translateY(-50%);
    width: 1.8rem; height: 1.8rem;
    background-color: var(--brand-gold); color: white;
    border-radius: 50%; text-align: center;
    font-size: 0.9rem; line-height: 1.8rem; font-weight: bold;
}

/* Linker lijst (Neutraal) */
#source-list .draggable-item { border-left: 4px solid #d1d5db; }

/* CONTAINERS */
.list-container { 
    min-height: 150px; 
    max-height: 65vh; 
    overflow-y: auto; 
    padding-right: 4px; 
}
.drag-active {
    background-color: #fff8f0 !important;
    border-color: var(--brand-gold) !important;
}

/* SCROLLBARS */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d1d5db; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #999; }

/* MOBILE fixes */
@media (max-width: 768px) {
    .list-container { max-height: 40vh; }
    .bg-white.p-4 { padding: 0.75rem; }
}

/* OUDE REGELS VOOR ADMIN CONTROLS ZIJN HIER VERWIJDERD */
/* Dit voorkomt dat ze onbedoeld zichtbaar worden op mobiel */