﻿/* =========================================
   TABEL CONTAINER
========================================= */

.team-table-wrapper {
    width: 100%;
    max-width: 900px;
    margin: 30px auto;
    padding: 0 10px;
}


/* =========================================
   TABEL
========================================= */

.team-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid #cccccc;
    border-radius: 6px;
    background: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    color: #101b4d;
}


    /* =========================================
   HEADER
========================================= */

    .team-table thead th {
        padding: 0;
        border: none;
        background: #101b4d;
        color: #ffffff;
    }


/* Header inhoud */

.table-header {
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 20px;
}


/* =========================================
   TITEL
========================================= */

.table-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}


/* =========================================
   VERANTWOORDELIJKE
========================================= */

.responsible {
    text-align: left;
    font-size: 15px;
    line-height: 1.2;
    color: #ffffff;
}


    .responsible strong {
        font-weight: 700;
    }


    .responsible span {
        color: #e52b22;
        font-weight: 800;
    }


/* =========================================
   CEL ALGEMEEN
========================================= */

.team-table td {
    padding: 10px 20px;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    vertical-align: middle;
}


    /* Laatste kolom geen rechter border */

    .team-table td:last-child {
        border-right: none;
    }


/* Laatste rij geen onderste border */

.team-table tbody tr:last-child td {
    border-bottom: none;
}


/* =========================================
   KOLOM 1 - LEEFTIJD
========================================= */

.team-table .age {
    width: 15%;
    text-align: center;
    color: #df2b23;
    font-size: 28px;
    font-weight: 800;
}

.team-table .name {
    width: 34%;
    text-align: center;
    color: #df2b23;
    font-size: 24px;
    font-weight: 800;
}

/* =========================================
   KOLOM 2 - ROL
========================================= */

.team-table .role {
    width: 25%;
    font-size: 17px;
    font-weight: 700;
}

.team-table .info {
    width: 33%;
    font-size: 24px;
    font-weight: 700;
}

/* =========================================
   KOLOM 3 - BEGELEIDERS
========================================= */

.team-table .coaches {
    width: 60%;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}
.team-table .mail {
    width: 33%;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
}

/* =========================================
   HOVER
========================================= */

.team-table tbody tr {
    transition: background-color 0.2s ease;
}


    .team-table tbody tr:hover {
        background-color: #f5f5f5;
    }


/* =========================================
   MOBIEL
========================================= */

@media (max-width: 600px) {

    .team-table-wrapper {
        padding: 0 5px;
        margin: 20px auto;
    }


    /* Header */

    .table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 12px 15px;
    }


    .table-title {
        font-size: 24px;
    }


    .responsible {
        font-size: 13px;
    }


    /* Tabel */

    .team-table td {
        padding: 9px 10px;
    }


    .team-table .age {
        width: 15%;
        font-size: 22px;
    }


    .team-table .role {
        width: 25%;
        font-size: 14px;
    }


    .team-table .coaches {
        width: 60%;
        font-size: 13px;
        line-height: 1.3;
    }
}
