
/* =========================
   ALGEMEEN
========================= */
body {
    background: #f5f7fb;
    font-family: Arial, sans-serif;
    color: #222;
}

h2 {
    font-weight: 700;
    margin-bottom: 20px;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    padding: 10px 0;
}

.navbar-brand img {
    height: 45px;
}

/* =========================
   CARDS (POULE BLOKKEN)
========================= */
.card {
    border: none;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
}

.card-header {
    font-weight: 600;
    font-size: 15px;
}

/* =========================
   TABLE BASE
========================= */
table {
    width: 100%;
    table-layout: fixed;
    margin-bottom: 0;
    background: white;
}

th, td {
    padding: 10px !important;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =========================
   KOLOM BREEDTES (BELANGRIJK)
========================= */

/* Resultaat */
th:nth-child(1),
td:nth-child(1) {
    width: 140px;
}

/* Team 1 */
th:nth-child(2),
td:nth-child(2) {
    width: 220px;
}

/* Team 2 */
th:nth-child(3),
td:nth-child(3) {
    width: 220px;
}

/* Categorie (kort) */
th:nth-child(4),
td:nth-child(4) {
    width: 60px;
    text-align: center;
}

/* Poule (nog korter) */
th:nth-child(5),
td:nth-child(5) {
    width: 50px;
    text-align: center;
}

/* Actie kolom (indien ingelogd) */
th:last-child,
td:last-child {
    width: 80px;
    text-align: center;
}

/* =========================
   RESULTAAT STYLING
========================= */
td:first-child {
    font-weight: 600;
}

/* =========================
   KNOPPEN
========================= */
.btn-primary {
    background: #0d6efd;
    border: none;
}

.btn-primary:hover {
    background: #0b5ed7;
}

/* =========================
   TEXT
========================= */
.text-muted {
    color: #888 !important;
    font-size: 13px;
}

/* =========================
   MOBILE OPTIMALISATIE
========================= */
@media (max-width: 768px) {

    th, td {
        font-size: 12px;
        padding: 6px !important;
    }

    th:nth-child(2),
    td:nth-child(2),
    th:nth-child(3),
    td:nth-child(3) {
        width: 160px;
    }

    th:nth-child(4),
    td:nth-child(4),
    th:nth-child(5),
    td:nth-child(5) {
        width: 45px;
    }
}