body {
    font-family: Arial, sans-serif;
    /* max-width: 800px; */
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-section {
    text-align: center;
    padding: 40px 0;
}

.dashboard {
    display: none;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.points-section {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.points-display {
    font-size: 2em;
    font-weight: bold;
    color: #1976d2;
    text-align: center;
    margin: 10px 0;
}

.button {
    background: #24292e;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 5px;
}

.button:hover {
    background: #444d56;
}

.button.secondary {
    background: #6c757d;
}

.button.success {
    background: #28a745;
}

.error {
    color: #dc3545;
    background: #f8d7da;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.success {
    color: #155724;
    background: #d4edda;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.points-input {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.points-input input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100px;
}

.loading {
    display: none;
    text-align: center;
    padding: 20px;
    color: #666;
}

.websocket-section {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.websocket-messages {
    max-height: 200px;
    overflow-y: auto;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    padding: 10px;
    background: white;
    border-radius: 4px;
    font-family: monospace;
    font-size: 12px;
}

.websocket-message {
    margin: 3px 0;
    padding: 2px 0;
}

.websocket-message.incoming {
    color: #007bff;
}

.websocket-message.outgoing {
    color: #28a745;
}

.websocket-message.error {
    color: #dc3545;
}

.websocket-message .timestamp {
    color: #666;
    font-size: 10px;
}

.json-highlight .json-key { color: #f92672; }
.json-highlight .json-string { color: #e6db74; }
.json-highlight .json-number { color: #ae81ff; }
.json-highlight .json-boolean { color: #66d9ef; }
.json-highlight .json-null { color: #fd971f; }

.invite-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    text-align: center;
}

.invite-section h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.input {
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    width: 250px;
    margin-right: 10px;
    transition: border-color 0.3s ease;
}

.input:focus {
    outline: none;
    border-color: #24292e;
    box-shadow: 0 0 0 2px rgba(36, 41, 46, 0.1);
}

.input::placeholder {
    color: #888;
}