/* Project Specific Styles */
.project-color-indicator {
    width: 4px;
    height: 40px;
    border-radius: 2px;
    flex-shrink: 0;
}

.project-item {
    transition: all 0.2s ease;
    border-left: 3px solid transparent !important;
}

.project-item:hover {
    background-color: #f8f9fa;
    border-left-color: var(--primary) !important;
    transform: translateX(2px);
}

.project-item.active {
    background-color: #e3f2fd;
    border-left-color: var(--primary) !important;
}

.project-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
}

.project-stats span {
    display: inline-flex;
    align-items: center;
}

@media (max-width: 768px) {
    .project-item .d-flex {
        flex-direction: column;
        align-items: flex-start !important;
    }
    
    .project-item .dropdown {
        margin-top: 0.5rem;
        align-self: flex-end;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* Project Selection in Document Create */
#projectSelection {
    position: relative;
}

#projectSelection .project-select-btn {
    width: 100%;
    text-align: left;
    padding: 0.75rem;
    border: 2px dashed #dee2e6;
    background: #f8f9fa;
    transition: all 0.2s ease;
}

#projectSelection .project-select-btn:hover {
    border-color: #667eea;
    background: #fff;
}

#projectSelection .project-select-btn.selected {
    border-color: #667eea;
    border-style: solid;
    background: #e3f2fd;
}

#projectSelection .quick-create-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    transition: all 0.2s ease;
}

#projectSelection .quick-create-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 8px rgba(102, 126, 234, 0.3);
}

/* Status Tabs */
.status-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.status-tab {
    padding: 0.5rem 1rem;
    border: 2px solid #dee2e6;
    border-radius: 20px;
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.status-tab:hover {
    border-color: #667eea;
    background: #f8f9fa;
}

.status-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.status-badge {
    display: inline-flex;
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    align-items: center;
}