body {
    font-family: 'Roboto', sans-serif;
    margin: 20px;
    background-color: #f5f5f5;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-radius: 4px;
}
input[type="text"], button {
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}
input[type="number"], button {
    padding: 10px;
    margin-top: 10px;
    border-radius: 4px;
    border: 1px solid #ddd;
}
button {
    background-color: #1976d2;
    color: white;
    border: none;
    cursor: pointer;
}
button:disabled {
    background-color: #ccc;
}
.success {
    color: green;
}
table {
    width: 100%;
    margin-top: 20px;
    border-collapse: collapse;
}
th, td {
    text-align: left;
    padding: 8px;
    border-bottom: 1px solid #ddd;
}
th {
    background-color: #f5f5f5;
    cursor: pointer;
}
.time-ago {
    color: red;
    font-size: 8px;
}
.raid-data-button {
    background-color: green;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
}
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1000;
    width: 80%;
    max-width: 800px;
}
.modal-content {
    max-height: 400px;
    overflow-y: auto;
}
.modal table {
    width: 100%;
    margin-top: 10px;
}
.modal th, .modal td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}
.modal th {
    cursor: pointer;
}
.high-activity { color: green; }
.medium-activity { color: orange; }
.low-activity { color: red; }
th.sorted-asc::after {
    content: " ↑";
    font-size: 0.8em;
}
th.sorted-desc::after {
    content: " ↓";
    font-size: 0.8em;
}

.edit-button {
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 5px;
    font-size: 12px;
    padding: 2px 5px;
}

.user-id-edit {
    width: 150px;
    padding: 5px;
}

.user-id-display {
    cursor: pointer;
}

        .sync-controls {
            margin: 15px 0;
            display: flex;
            gap: 10px;
        }
        #syncStatus {
            margin-left: 10px;
            font-weight: bold;
        }