/* Presentielijst Bewegingsonderwijs - eigen stijl bovenop Bootstrap */

body {
    background-color: #f4f6f8;
}

.login-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

/* ---- Presentie-scherm: vinkjes-tabel, groot en tikvriendelijk voor een tablet ---- */
.leerling-naam {
    font-size: 1.05rem;
    font-weight: 600;
}

#quicksearch {
    max-width: 28rem;
}

/* Sterretje bij leerlingen met een blijvende bijzonderheid (bv. allergie). */
.bijzonderheid-icoon {
    color: #dc3545;
    cursor: help;
}

/* Picto's voor zwem-hulpmiddelen (zwempijl/zwemvest/bandjes) in het groepsoverzicht. */
.hulpmiddel-icoon-img {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
    cursor: help;
    margin-right: 2px;
}

.table-presentie {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.table-presentie th {
    white-space: nowrap;
}

.table-presentie td {
    vertical-align: middle;
}

/* De hele cel is klikbaar (grotere tikzone dan alleen het vinkje zelf). */
.vinkje-cel {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.5rem;
    cursor: pointer;
}

.vinkje-groot {
    width: 1.6rem;
    height: 1.6rem;
    cursor: pointer;
}

.vinkje-groot:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

@media (max-width: 576px) {
    .leerling-naam {
        font-size: 0.95rem;
    }
    .vinkje-groot {
        width: 1.4rem;
        height: 1.4rem;
    }
}

.table-overzicht th {
    white-space: nowrap;
}

/* ---- Opmerkingen-editor (Quill) en picto's ---- */
#editor {
    min-height: 10rem;
    background: #fff;
}

.opmerking-inhoud img,
#editor img {
    max-width: 120px;
    max-height: 120px;
    margin: 2px;
    vertical-align: middle;
    border-radius: 4px;
    border: 1px solid #eee;
}

.opmerking-inhoud {
    word-break: break-word;
}

.picto-thumb {
    cursor: pointer;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.4rem;
    text-align: center;
    background: #fff;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.picto-thumb:hover {
    border-color: #0d6efd;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}

.picto-thumb img {
    max-width: 100%;
    height: 4.5rem;
    object-fit: contain;
}

.picto-thumb .picto-label {
    font-size: 0.7rem;
    color: #6c757d;
    display: block;
    margin-top: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stat-kaart {
    background: #fff;
    border-radius: 0.5rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.stat-kaart .stat-getal {
    font-size: 2rem;
    font-weight: 700;
}
