body {
    background: #1a1a1a;
    color: #fff;
    font-family: system-ui, -apple-system, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem;
}

.filter-section {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

#filterInput {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    background: #2a2a2a;
    color: #fff;
}

.counter {
    background: #2a2a2a;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.log-container {
    background: #2a2a2a;
    border-radius: 4px;
    padding: 1rem;
    height: 70vh;
    overflow-y: auto;
}

.log-entry {
    padding: 1rem;
    border-bottom: 1px solid #333;
    font-family: monospace;
}

.timestamp {
    color: #8bc34a;
    display: block;
    margin-bottom: 0.5rem;
}

.log-content {
    margin: 0;
    white-space: pre-wrap;
    color: #e0e0e0;
}

.error-message {
    color: #ff5252;
    padding: 1rem;
    text-align: center;
}

.search-section {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.search-group, .filter-group {
    display: flex;
    gap: 0.5rem;
}

.search-group {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.search-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.helper-text {
    font-size: 0.8rem;
    color: #888;
    margin-left: 0.5rem;
}

input {
    flex: 1;
    padding: 0.5rem;
    border: none;
    border-radius: 4px;
    background: #2a2a2a;
    color: #fff;
}

button {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    background: #4a4a4a;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s;
}

button:hover {
    background: #5a5a5a;
}

.status-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.refresh-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #4CAF50;
}

.refresh-button:hover {
    background: #45a049;
}

.refresh-icon {
    font-size: 1.2em;
}

/* Make the refresh button spin when loading */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.refresh-button.loading .refresh-icon {
    display: inline-block;
    animation: spin 1s linear infinite;
}

.settings-section {
    margin-bottom: 1rem;
    padding: 1rem;
    background: #2a2a2a;
    border-radius: 4px;
    display: flex;
    gap: 0.5rem;
}

.settings-section input {
    flex: 1;
}