.dashboard-container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.project-selector {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.project-selector select, .project-selector input {
    padding: 0.5rem;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.upload-zone {
    border: 2px dashed #ccc;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.upload-zone:hover {
    background: #f1f1f1;
    border-color: #999;
}

.jobs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.jobs-table th, .jobs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.jobs-table th {
    background: #f8f9fa;
    font-weight: 600;
}

.jobs-table tr:hover {
    background: #f8f9fa;
}

.badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
}

.badge.done { background: #d4edda; color: #155724; }
.badge.running { background: #fff3cd; color: #856404; }
.badge.error { background: #f8d7da; color: #721c24; }
.badge.uploaded { background: #e2e3e5; color: #383d41; }
.badge.queued { background: #cce5ff; color: #004085; }

.action-btn {
    padding: 0.25rem 0.5rem;
    margin-right: 0.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-view { background: #007bff; color: white; }
.btn-csv { background: #28a745; color: white; }

#viewer-section {
    display: none;
    height: 100vh;
}

#dashboard-section {
    display: block;
}
