/* ══ Inschrijven page styles ═════════════════════════════════════════════ */

/* ── Page wrapper ── */
.page {
    width: 100%;
    flex: 1;
    background: var(--orange);
    min-height: 125vh;
}

/* ── Scrollable table wrapper ── */
.table-wrap {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 14px;
}

table { width: 100%; border-collapse: collapse; }

thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--blue);
    color: white;
    font-size: 32px;
    text-align: center;
    padding: 12px 8px;
    border: 1px solid rgba(255,255,255,.55);
    line-height: 1.1;
}

tbody td {
    padding: 12px 8px;
    border: 1px solid rgba(255,255,255,.55);
    text-align: left;
    color: white;
    font-size: 26px;
}

tbody tr:nth-child(odd)  td { background: #c76420; }
tbody tr:nth-child(even) td { background: #f4bb90; }

/* ── Count display ── */
.count {
    color: #fff;
    text-align: right;
    font-size: 36px;
    margin: 28px 0 18px;
}

/* ── Registration form ── */
.form-wrap {
    background: var(--blue);
    padding: 30px;
    clip-path: polygon(0 0, 94% 0, 100% 18%, 100% 100%, 8% 100%, 0 76%);
    height: 50vh;
    width: 80vw;
    left: 8vw;
    position: relative;
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 24px;
    top: 5vh;
    position: relative;
}

label {
    display: block;
    color: white;
    font-size: 34px;
    margin-bottom: 6px;
}

input, select {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 0;
    background: #e8e8e8;
    font-size: 28px;
}

.submit-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.submit-btn {
    width: 280px;
    border: 0;
    background: var(--light);
    color: #1f1f1f;
    padding: 8px;
    font-size: 38px;
    font-weight: 700;
    cursor: pointer;
}

/* ── Pagination ── */
.pager { margin-top: 10px; }

/* ── Responsive ── */
@media (max-width: 920px) {
    thead th, tbody td { font-size: 16px; }
    .count             { font-size: 24px; }
    .grid              { grid-template-columns: 1fr; }
    label              { font-size: 20px; }
    input, select      { font-size: 16px; height: 40px; }
    .submit-btn        { width: 100%; font-size: 24px; }
}

footer{
    top: 15vh;
    position: relative;
}