* { box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #fff;
    margin: 0;
    padding: 20px;
}

.container {
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 20px;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

h1 {
    margin: 0;
    font-size: 1.5em;
    color: #333;
}

select {
    padding: 8px 12px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

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

th:nth-child(1), td:nth-child(1) { width: 20%; }
th:nth-child(2), td:nth-child(2) { width: 20%; }
th:nth-child(3), td:nth-child(3) { width: 20%; }
th:nth-child(4), td:nth-child(4) { width: 40%; }

th:nth-child(4) select {
    float: right;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid darkgray;
}

th {
    background: #07b;
    font-weight: 600;
    color: #fff;
}

tr:hover {
    background: #f9f9f9;
}

tbody tr:nth-child(even) {
    background: #f0f0f0;
}

tr.vergangen td,
tr.vergangen td .rot {
    color: #aaa;
    font-weight: normal;
}

tr.langes-we:not(.vergangen) td:nth-child(4) {
    color: #c00;
    font-weight: 600;
}

tr:not(.vergangen) .rot {
    color: #c00;
    font-weight: 600;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 20px 0;
}