body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 20px;
}
h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
}
.controls {
    max-width: 1000px;
    margin: 0 auto 15px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    flex-wrap: wrap;
    gap: 10px;
}
.controls-left, .controls-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}
.controls select, .controls button {
    padding: 8px 12px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    cursor: pointer;
}
.controls button {
    background-color: #e74c3c;
    color: white;
    border: none;
    font-weight: bold;
}
.controls button:hover {
    background-color: #c0392b;
}
.toggle-container {
    display: flex;
    align-items: center;
    font-size: 14px;
    background-color: #ecf0f1;
    padding: 5px 10px;
    border-radius: 4px;
}
.toggle-container input {
    margin-right: 5px;
    cursor: pointer;
}
.game-desc {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 20px;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
}
th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
    vertical-align: top;
    min-width: 120px;
}
th {
    background-color: #2c3e50;
    color: white;
}
.player-name {
    width: 90%;
    padding: 5px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.round-info {
    font-weight: bold;
    font-size: 16px;
}
.tricks-avail {
    font-size: 12px;
    color: #7f8c8d;
}
.bid-warning {
    color: #c0392b;
    font-size: 11px;
    font-weight: bold;
    display: none;
    margin-top: 5px;
}
.input-group {
    display: flex;
    justify-content: space-around;
    margin-bottom: 5px;
}
.input-group label {
    font-size: 12px;
    display: block;
    margin-bottom: 2px;
}
input[type="number"] {
    width: 45px;
    padding: 4px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}
.scores {
    background-color: #ecf0f1;
    padding: 8px;
    border-radius: 4px;
    margin-top: 5px;
    font-size: 14px;
}
.total-score {
    font-weight: bold;
    font-size: 20px;
    color: #27ae60;
    display: block;
    margin-top: 4px;
}
.negative {
    color: #c0392b;
}
