/* =========================================================
   NACHT VAN CUIJK - ORGANISATIE
   ========================================================= */


/* ---------------------------------------------------------
   ZOEKVELD
   --------------------------------------------------------- */

#lan-deelnemer-zoek {
    width: 300px;
    max-width: 100%;
    padding: 10px 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    font-size: 15px;
    box-sizing: border-box;
}

#lan-deelnemer-zoek:focus {
    outline: none;
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.08);
}


/* ---------------------------------------------------------
   DEELNEMERSTABEL
   --------------------------------------------------------- */

#lan-deelnemers-tabel {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid #ddd;
    overflow: hidden;
    font-size: 14px;
}


/* Tabelkop */

#lan-deelnemers-tabel thead th {
    background: #f3f4f6;
    color: #333;
    font-weight: 600;
    padding: 12px 10px;
    text-align: left;
    border-bottom: 2px solid #ddd;
}


/* Cellen */

#lan-deelnemers-tabel tbody td {
    padding: 10px;
    border-bottom: 1px solid #eee;
    vertical-align: middle;
    color: black;
}


/* Om en om een licht andere achtergrond */

#lan-deelnemers-tabel tbody tr:nth-child(even) {
    background: #fafafa;
}


/* Hover over een deelnemer */

#lan-deelnemers-tabel tbody tr:hover {
    background: #f1f5f9;
}


/* Laatste rij geen onderste rand */

#lan-deelnemers-tabel tbody tr:last-child td {
    border-bottom: none;
}


/* ---------------------------------------------------------
   CHECKBOXES
   --------------------------------------------------------- */

#lan-deelnemers-tabel input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    vertical-align: middle;
    accent-color: green;
}

/* ---------------------------------------------------------
   ARCHIEF KNOP
   --------------------------------------------------------- */

#lan-deelnemers-tabel button,
.nvc-archief-knop {
    border: none;
    padding: 8px 13px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}


/* ---------------------------------------------------------
   OPSLAAN-KNOP
   --------------------------------------------------------- */

#lan-deelnemers-tabel button[name="lan_party_save_attendance"] {
    background: #3e1895;
    color: white;
    margin: 5px;
}

#lan-deelnemers-tabel button[name="lan_party_save_attendance"]:hover {
    background: #9578c1;
}


/* ---------------------------------------------------------
   VERWIJDEREN-KNOP
   --------------------------------------------------------- */

#lan-deelnemers-tabel button[name="nvc_delete_entry"] {
    background: #dc3545;
    color: white;
    margin: 5px;
}

#lan-deelnemers-tabel button[name="nvc_delete_entry"]:hover {
    background: #961a26;
}


/* ---------------------------------------------------------
   ARCHIEF-KNOP
   --------------------------------------------------------- */

.nvc-archief-knop {
    background: #333;
    color: white;
    padding: 11px 18px;
    font-size: 15px;
}

.nvc-archief-knop:hover {
    background: #111;
}


/* ---------------------------------------------------------
   KNOPPEN NAAST ELKAAR IN DE KOLOM "ACTIE" (versie 1.1.0)
   --------------------------------------------------------- */

#lan-deelnemers-tabel form {
    display: inline-block;
    margin: 0;
}


/* ---------------------------------------------------------
   INLOGKNOP VOOR NIET-INGELOGDE BEZOEKERS (versie 1.1.0)
   --------------------------------------------------------- */

.nvc-inlog-knop {
    display: inline-block;
    background: #3e1895;
    color: #fff;
    padding: 10px 18px;
    font-weight: 600;
    text-decoration: none;
}

.nvc-inlog-knop:hover,
.nvc-inlog-knop:focus {
    background: #9578c1;
    color: #fff;
}

.nvc-uitleg {
    font-size: 13px;
    margin-top: 8px;
}


/* ---------------------------------------------------------
   MOBIEL
   --------------------------------------------------------- */

@media (max-width: 800px) {

    #lan-deelnemers-tabel {
        font-size: 13px;
    }

    #lan-deelnemers-tabel thead th,
    #lan-deelnemers-tabel tbody td {
        padding: 7px 6px;
    }

    #lan-deelnemers-tabel button {
        padding: 7px 9px;
        font-size: 12px;
    }
}