/* Status badges */
.badge {
    display: inline-block;
    padding: 0.25em 0.75em;
    border-radius: 1em;
    font-size: 0.9em;
    font-weight: 600;
    color: white;
}

.badge-pending {
    background-color: #6c757d;
}

.badge-claimed {
    background-color: #0d6efd;
}

.badge-processing_diarization {
    background-color: #0d6efd;
}

.badge-processing_claude {
    background-color: #6f42c1;
}

.badge-completed {
    background-color: #198754;
}

.badge-error {
    background-color: #dc3545;
}

.badge-stopped {
    background-color: #fd7e14;
}

/* Error display */
.error {
    color: #dc3545;
    font-weight: 600;
}

/* Results */
pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    max-height: 60vh;
    overflow-y: auto;
}

.claude-response {
    white-space: pre-wrap;
    word-wrap: break-word;
    line-height: 1.6;
}

textarea {
    font-family: monospace;
    font-size: 0.9em;
}

/* Job actions dropdown */
.job-actions {
    position: relative;
    display: inline-block;
}

.job-menu-btn {
    padding: 0.2em 0.5em !important;
    margin: 0 !important;
    font-size: 1.2em;
    line-height: 1;
    border: none !important;
}

.job-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: var(--pico-card-background-color, #fff);
    border: 1px solid var(--pico-muted-border-color, #ccc);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
    min-width: 120px;
}

.job-menu.open {
    display: flex;
    flex-direction: column;
}

.job-menu a {
    padding: 0.5em 1em;
    text-decoration: none;
    white-space: nowrap;
}

.job-menu a:hover {
    background: var(--pico-primary-focus, #eee);
}

.job-menu a.stop-link { color: #fd7e14; }
.job-menu a.stop-link:hover { background: #fff8f0; }
.job-menu a.delete-link { color: #dc3545; }
.job-menu a.delete-link:hover { background: #fff0f0; }
