.ghosts-stats {
    text-align: center;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.ghosts-stats span {
    margin: 0 15px;
    color: #ff6b00;
    font-weight: bold;
}

.ghost-computer-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ghost-computer-card:hover {
    border-color: #ff6b00;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.2);
}

.ghost-computer-card.matched {
    border-left: 4px solid #28a745;
}

.ghost-computer-card.unmatched {
    border-left: 4px solid #666;
}

.ghost-computer-info {
    flex: 1;
}

.ghost-computer-name {
    font-size: 1.1em;
    font-weight: bold;
    color: var(--title-color);
}

.ghost-computer-stock {
    font-size: 0.85em;
    color: #28a745;
    margin-top: 3px;
}

.ghost-computer-stock.unmatched {
    color: #888;
}

.ghost-file-count {
    color: #888;
    font-size: 0.9em;
    margin-right: 15px;
}

/* Ghost files in modal */
.ghost-file-list {
    list-style: none;
    padding: 0;
}

.ghost-file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid var(--border-light);
    border-radius: 4px;
    transition: background 0.2s;
}

.ghost-file-item:hover {
    background: var(--hover-bg);
}

.ghost-file-icon {
    font-size: 1.5em;
    margin-right: 10px;
}

.ghost-file-name {
    flex: 1;
    font-size: 0.95em;
}

.ghost-file-size {
    color: #888;
    font-size: 0.85em;
    margin: 0 15px;
    white-space: nowrap;
}

.ghost-download-btn {
    padding: 5px 12px;
    background: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.85em;
    transition: background 0.2s;
}

.ghost-download-btn:hover {
    background: #ff8533;
}
.ghost-file-item {
    cursor: default;
}

.ghost-file-item[onclick] {
    cursor: pointer;
}

.ghost-file-item[onclick]:hover {
    background: rgba(255, 107, 0, 0.1);
}
.ghost-link-btn {
    padding: 4px 10px;
    background: rgba(255, 107, 0, 0.2);
    border: 1px solid #ff6b00;
    color: #ff6b00;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8em;
    margin-left: 10px;
    transition: all 0.2s;
}

.ghost-link-btn:hover {
    background: rgba(255, 107, 0, 0.4);
}
.ghost-unlink-btn {
    padding: 4px 10px;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff4444;
    color: #ff4444;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8em;
    margin-left: 5px;
    transition: all 0.2s;
}

.ghost-unlink-btn:hover {
    background: rgba(255, 0, 0, 0.4);
}