/* Projects CSS - Project list and card styles */

/* Project list header */
.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Project cards */
.project-card {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

.project-card:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.project-card.active {
    border-color: #007bff;
    background: #f0f7ff;
}

.project-name {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 5px;
}

/* Project status badges */
.project-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending { background: #ffc107; color: #000; }
.status-parsing { background: #17a2b8; color: #fff; }
.status-breakdown { background: #17a2b8; color: #fff; }
.status-grouping { background: #17a2b8; color: #fff; }
.status-extracting_props { background: #17a2b8; color: #fff; }
.status-completed { background: #28a745; color: #fff; }
.status-error { background: #dc3545; color: #fff; }

.project-step {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Access badges */
.access-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    margin-left: 10px;
}

.access-owner { background: #007bff; color: white; }
.access-write { background: #28a745; color: white; }
.access-read { background: #6c757d; color: white; }

/* Project detail page */
.project-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.back-button {
    margin-right: 20px;
}
