/* Het takenbord: kaarten per shift, zoals op het oude takenbord. */

.task-card { position: relative; }

.task-card .occupancy {
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(35%, -45%);
    font-size: .8rem;
}

.task-card .card-title { font-weight: 600; }

.task-card .volunteer-badges .badge {
    font-weight: 500;
    margin: 0 .25rem .25rem 0;
}

.task-card .volunteer-badges .badge button {
    border: 0;
    background: none;
    color: inherit;
    padding: 0 0 0 .25rem;
    line-height: 1;
}

.task-card.is-mine { border-color: var(--tb-primary); box-shadow: 0 0 0 1px var(--tb-primary); }

.task-card .manage-buttons .btn { padding: .1rem .4rem; }

.add-card .card-body { min-height: 9rem; }

.category-info { white-space: pre-line; }

#dayTabs .nav-link { padding: .5rem .75rem; }

.border-dashed { border-style: dashed; }

/* ---------- Stijl van het bord (kleuren via /js/theme.js) ---------- */

.board-navbar {
    border-bottom: 3px solid var(--tb-primary) !important;
    background-color: var(--tb-primary-light) !important;
}

.board-logo { height: 40px; width: auto; max-width: 160px; object-fit: contain; }

.nav-underline .nav-link.active,
.nav-underline .nav-link:hover { color: var(--tb-primary) !important; }

.card-responsible { font-size: .875rem; }

/* Balk per dag: in de kaartenweergave (optioneel) en altijd in de tijdlijn */
.day-band {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin: 1rem 0 .75rem;
    padding: .5rem 1.25rem;
    background: var(--tb-accent);
    color: #fff;
    border-radius: .4rem;
    font-weight: 600;
    letter-spacing: .02em;
    position: relative;
    z-index: 1;
}

.day-band i { opacity: .75; }

/* ---------- Tijdlijn (overgenomen van het takenbord van Estropov) ---------- */

.timeline { position: relative; }

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
    transform: translateX(-50%);
}

.timeline-section { margin-bottom: 1.5rem; position: relative; }

.timeline-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--tb-primary);
    margin-top: 4px;
}

.timeline-label {
    font-weight: 600;
    font-size: .85rem;
    color: var(--tb-primary);
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    padding: 2px 10px;
    margin-top: 4px;
    white-space: nowrap;
}

.timeline-cards { display: flex; flex-direction: column; gap: .75rem; }

@media (max-width: 767.98px) {
    .timeline::before { display: none; }
    .timeline-center { flex-direction: row; gap: .5rem; margin-bottom: .5rem; }
    .timeline-dot { margin-top: 0; }
    .timeline-label { margin-top: 0; }
}

/* ---------- Huisstijl op het bord (body.platform, zie site.css) ---------- */

.platform .task-card .occupancy.text-bg-warning { background: var(--brand-ochre) !important; color: var(--brand-ink) !important; }
.platform .task-card .occupancy.text-bg-success { background: var(--tb-primary) !important; color: #fff !important; }
.platform .volunteer-badges .badge.text-bg-secondary { background: #ede3cf !important; color: var(--brand-ink) !important; }
.platform .volunteer-badges .badge.text-bg-primary { background: var(--tb-primary) !important; }
.platform .task-card .card-title { font-weight: 800; }
.platform .task-card .manage-buttons .btn { border-radius: 2rem; }
.platform .day-band { border-radius: .85rem; }
