/* Basis-Design */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f7f9fb;
    color: #222;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    color: #2a5d84;
}

button.add-button, input[type="submit"] {
    background: linear-gradient(90deg, #2a5d84 60%, #4fc3f7 100%);
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 22px;
    margin: 10px 5px 20px 0;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(44, 62, 80, 0.07);
}

button.add-button:hover, input[type="submit"]:hover {
    background: linear-gradient(90deg, #1b3c54 60%, #29b6f6 100%);
}

.table-wrapper {
    flex: 1 1 auto;
    overflow-y: auto;
    max-height: 65vh; /* Passe ggf. an */
    margin: 3px;
    position: relative;
    border-radius: 10px;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin: 3px auto;
    background: #fff;
    box-shadow: 0 2px 16px rgba(44, 62, 80, 0.08);
}

td {
    padding: 3px 2px;
    text-align: center;
}

th {
    background: #e3f2fd;
    color: #2a5d84;
    font-weight: 600;
    font-size: 1.05rem;
    border-bottom: 2px solid #90caf9;
    cursor: pointer;
    user-select: none;
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 3px 2px;
    text-align: center;
}

tr:nth-child(even) {
    background: #f4f8fb;
}

tr:hover {
    background: #e1f5fe;
}

a {
    color: #1976d2;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #0d47a1;
    text-decoration: underline;
}

input[type="number"] {
    padding: 6px 10px;
    border: 1px solid #b0bec5;
    border-radius: 4px;
    margin: 5px 0 15px 0;
    width: 80px;
    font-size: 1rem;
    background: #f7f9fb;
}

label {
    font-weight: 500;
    color: #2a5d84;
}

hr {
    border: none;
    border-top: 1px solid #b0bec5;
    margin: 30px 0 20px 0;
}

#selectedCount, #goalkeeperCount {
    font-size: 1.1rem;
    font-weight: 500;
    color: #1565c0;
    margin: 10px 0 10px 10px;
}