/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #ffffff;
    margin: 0;
    padding: 20px;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(4px);
}

h1 {
    text-align: center;
    color: #ffd700;
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
    color: #ffd700;
    margin-top: 20px;
}

/* Input and Button Styles */
.input-group, .setup-group {
    margin: 20px 0;
    display: flex;
    gap: 10px;
}

input {
    padding: 10px;
    border: none;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9);
    flex: 1;
    font-size: 16px;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background: #ffd700;
    color: #1a1a2e;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

button:hover {
    background: #ffed4a;
    transform: translateY(-2px);
}

button:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
}

/* Players List Styles */
.players-list {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
}

.players-text {
    line-height: 1.6;
}

/* Game Status Styles */
.status {
    text-align: center;
    padding: 15px;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-weight: bold;
    color: #ffd700;
}

/* Responsive Design */
@media (max-width: 600px) {
    .input-group, .setup-group {
        flex-direction: column;
    }
    
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 2em;
    }
    
    .player-entry {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Player Entry Styles */
.player-entry {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 5px;
    gap: 10px;
}

.player-entry.editing {
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.1);
}

.edit-scores {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0;
    align-items: center;
}

.small-btn {
    padding: 5px 10px;
    font-size: 12px;
    background: #4a90e2; /* Different color for secondary actions */
    color: white;
}

.small-btn:hover {
    background: #357abd;
}

.edit-points {
    padding: 5px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 3px;
    width: 60px; /* Slightly wider than inline style */
}
