.login-card {
    max-width: 400px;
    margin: 4rem auto;
    padding: 2rem;
}

.error {
    color: var(--pico-del-color);
}

.message {
    color: var(--pico-ins-color);
    padding: 0.5rem 1rem;
}

.thumb-cell {
    width: 90px;
    min-width: 90px;
}

.thumb {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.event-image {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
}

.badge {
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.badge-approved {
    background: #d4edda;
    color: #155724;
}

.badge-rejected {
    background: #f8d7da;
    color: #721c24;
}

.badge-needs_review {
    background: #fff3cd;
    color: #856404;
}

.diff-suggestion {
    background: #d4edda;
    color: #155724;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    font-weight: 600;
}

.stats-grid article {
    text-align: center;
}

.stats-grid h3 {
    margin-bottom: 0;
    font-size: 2rem;
}

.stat-approved {
    border-left: 4px solid #28a745;
}

.stat-rejected {
    border-left: 4px solid #dc3545;
}

.stat-review {
    border-left: 4px solid #ffc107;
}

.diff-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.diff-original {
    background: #fff8f0;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #ffc107;
}

.diff-corrected {
    background: #f0fff4;
    padding: 0.75rem;
    border-radius: 6px;
    border-left: 3px solid #28a745;
}

.diff-block small {
    font-weight: 600;
    display: block;
    margin-bottom: 0.3rem;
}

.actions {
    display: flex;
    gap: 0.5rem;
    align-items: start;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.pagination {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
}

.run-result {
    background: #d4edda;
    padding: 0.75rem 1rem;
    border-radius: 6px;
}

.moderation-log {
    margin-top: 1.5rem;
}

.moderation-log summary {
    cursor: pointer;
    font-weight: 600;
    color: #666;
}

.moderation-log pre {
    background: #f5f5f5;
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    white-space: pre-wrap;
    word-break: break-word;
    max-height: 600px;
    overflow-y: auto;
}

.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    display: inline-block;
}
