.container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
        }
        
        h1, h2, h3 {
            color: #2c3e50;
            margin-top: 0;
        }
        
        h1 {
            text-align: center;
            margin-bottom: 30px;
            color: #e74c3c;
        }
        
        .tabs {
            display: flex;
            margin-bottom: 20px;
            border-bottom: 2px solid #e74c3c;
        }
        
        .tab {
            padding: 10px 20px;
            cursor: pointer;
            background-color: #f8f9fa;
            border-radius: 5px 5px 0 0;
            margin-right: 5px;
            transition: all 0.3s;
        }
        
        .tab.active {
            background-color: #e74c3c;
            color: white;
        }
        
        .tab:hover:not(.active) {
            background-color: #e7e7e7;
        }
        
        .tab-content {
            display: none;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .form-group {
            margin-bottom: 15px;
        }
        
        label {
            display: block;
            margin-bottom: 5px;
            font-weight: bold;
        }
        
        input, select, button {
            width: 100%;
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 16px;
        }
        
        .checkbox-group {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .checkbox-group label {
            margin-bottom: 0;
            margin-left: 10px;
            font-weight: normal;
        }
        
        .checkbox-group input[type="checkbox"] {
            width: auto;
        }
        
        select {
            cursor: pointer;
        }
        
        button {
            background-color: #e74c3c;
            color: white;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s;
            font-weight: bold;
        }
        
        button:hover {
            background-color: #c0392b;
        }
        
        button.secondary {
            background-color: #3498db;
        }
        
        button.secondary:hover {
            background-color: #2980b9;
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px;
        }
        
        th, td {
            border: 1px solid #ddd;
            padding: 10px;
            text-align: center;
        }
        
        th {
            background-color: #f2f2f2;
            font-weight: bold;
        }
        
        tr:nth-child(even) {
            background-color: #f9f9f9;
        }
        
        .player-inputs {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .player-inputs > div {
            flex: 1;
            min-width: 200px;
        }
        
        .score-row {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }

        .score-row > div {
            flex: 1;
            display: flex;
            align-items: center;
        }

        .score-row label {
            margin-right: 10px;
            white-space: nowrap;
        }

        .score-row input {
            flex-grow: 1;
        }

        .score-row .timestamp {
            margin-left: auto;
            font-size: 0.85em;
            color: #777;
        }

        #history-game-table th:last-child,
        #history-game-table td:last-child {
            display: none;
        }

        #history-game-table.show-time th:last-child,
        #history-game-table.show-time td:last-child {
            display: table-cell;
        }
        
        .round-score {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-bottom: 20px;
        }
        
        .round-score > div {
            flex: 1;
            min-width: 150px;
        }
        
        .history-item {
            border: 1px solid #ddd;
            padding: 15px;
            margin-bottom: 15px;
            border-radius: 5px;
            cursor: pointer;
            transition: all 0.3s;
            background-color: #f9f9f9;
        }
        
        .history-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .history-item h3 {
            margin-top: 0;
            margin-bottom: 10px;
            color: #e74c3c;
        }
        
        .history-details {
            display: none;
            padding: 15px;
            background-color: #fff;
            border-radius: 5px;
            margin-top: 10px;
        }
        
        .edit-log {
            background-color: #f8f9fa;
            padding: 15px;
            border-radius: 5px;
            border-left: 4px solid #e74c3c;
            margin-top: 10px;
        }
        
        .edit-log h4 {
            margin-top: 0;
            color: #e74c3c;
        }
        
        .btn-group {
            display: flex;
            gap: 10px;
            margin-top: 10px;
        }
        
        .btn-group button {
            flex: 1;
        }
        
        .small-button {
            width: auto;
            padding: 5px 10px;
            font-size: 14px;
        }
        
        .timestamp {
            font-size: 0.85em;
            color: #777;
            margin-left: 10px;
        }
        
        .disabled-input {
            background-color: #f0f0f0;
            cursor: not-allowed;
        }
        
        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }
            
            .tab {
                padding: 8px 12px;
                font-size: 14px;
            }
            
            .player-inputs > div,
            .round-score > div {
                min-width: 100%;
            }
            
            .btn-group {
                flex-direction: column;
            }
        }
        
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        
        .spinner {
            width: 50px;
            height: 50px;
            border: 5px solid #f3f3f3;
            border-top: 5px solid #e74c3c;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .alert {
            padding: 15px;
            margin-bottom: 20px;
            border-radius: 5px;
        }
        
        .alert-success {
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        
        .alert-error {
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        
        .alert-info {
            background-color: #d1ecf1;
            color: #0c5460;
            border: 1px solid #bee5eb;
        }
        
        .hidden {
            display: none;
        }