body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: white;
    color: black;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    display: flex;
    flex-wrap: wrap;
}

.main-content {
    flex: 1 1 auto;
    min-width: 600px;
    margin-right: 20px;
    overflow-x: auto;
}

.leaderboard {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 200px;
}

.leaderboard h2 {
    font-size: 16px;
    margin: 0 0 10px;
    text-align: center;
}

.leaderboard ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.leaderboard li {
    margin: 5px 0;
    display: flex;
    justify-content: space-between;
}

table {
    border-collapse: collapse;
    width: 100%;
    margin-top: 20px;
}

th, td {
    border: 1px solid #ccc;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #f4f4f4;
}

.total {
    font-weight: bold;
    background-color: #dff0d8;
}

input[type="number"] {
    width: 80%;
    padding: 5px;
    text-align: center;
}

input[type="text"] {
    border: none;
    text-align: center;
    font-weight: bold;
}

select, button {
    padding: 10px 15px;
    font-size: 14px;
    margin: 10px 0;
    cursor: pointer;
    border: 1px solid #ccc;
    background: #f4f4f4;
}

select:hover, button:hover {
    background: #e0e0e0;
}

.player-name:disabled {
    background-color: #e0e0e0;
    cursor: not-allowed;
}
