[hidden] {
    display: none !important;
}

.student {
    max-width: 800px;
    min-width: 0;
    margin: 0 0 16px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
}

.student legend {
    padding: 0 6px;
    font-weight: 600;
}

.remove-person {
    margin-top: 16px;
}

.form-errors {
    margin-bottom: 20px;
    padding: 12px 16px;
    border-left: 4px solid #a12630;
    background: #fff1f2;
}

.portal-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 16px;
    max-width: 760px;
}

.portal-options a,
.portal-options a:visited {
    display: grid;
    gap: 4px;
    padding: 18px 20px;
    border: 1px solid #a8c1df;
    border-radius: 6px;
    background: #eef5fc;
    color: #17395e;
}

.portal-options a:hover {
    background: #dcecff;
}

.portal-options strong {
    font-size: 18px;
}

.portal-options span {
    color: #394b5c;
}

.email-check {
    align-items: end;
}

#datenschutz {
    max-width: 820px;
    scroll-margin-top: 16px;
}

.admin-table th:first-child {
    width: 85px;
}

@media (max-width: 680px) {
    .admin-table thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
    }

    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
    }

    .admin-table tr {
        margin-bottom: 12px;
        border: 1px solid var(--line);
    }

    .admin-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
    }
}
